File tree 1 file changed +2
-2
lines changed
test/Microsoft.ML.Functional.Tests
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -136,13 +136,13 @@ void ExtensibilityModifyTextFeaturization()
136
136
137
137
// Create a training pipeline.
138
138
// 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" ,
140
140
new TextFeaturizingEstimator . Options
141
141
{
142
142
UseCharExtractor = true ,
143
143
UseWordExtractor = true ,
144
144
VectorNormalizer = TextFeaturizingEstimator . TextNormKind . L1
145
- } )
145
+ } , "SentimentText" )
146
146
. AppendCacheCheckpoint ( mlContext )
147
147
. Append ( mlContext . BinaryClassification . Trainers . StochasticDualCoordinateAscent (
148
148
new SdcaBinaryTrainer . Options { NumThreads = 1 } ) ) ;
You can’t perform that action at this time.
0 commit comments