File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
test/Microsoft.ML.Functional.Tests Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,14 @@ void ExtensibilityModifyTextFeaturization()
136136
137137 // Create a training pipeline.
138138 // TODO #2802: Update FeaturizeText to allow specifications of word-grams and char-grams.
139- var pipeline = mlContext . Transforms . Text . FeaturizeText ( "Features" , new string [ ] { "SentimentText" } ,
139+ var pipeline = mlContext . Transforms . Text . FeaturizeText ( "Features" ,
140140 new TextFeaturizingEstimator . Options
141141 {
142142 UseCharExtractor = true ,
143143 UseWordExtractor = true ,
144144 VectorNormalizer = TextFeaturizingEstimator . TextNormKind . L1
145- } )
145+ } ,
146+ "SentimentText" )
146147 . AppendCacheCheckpoint ( mlContext )
147148 . Append ( mlContext . BinaryClassification . Trainers . StochasticDualCoordinateAscent (
148149 new SdcaBinaryTrainer . Options { NumThreads = 1 } ) ) ;
You can’t perform that action at this time.
0 commit comments