Skip to content

Commit 59eac50

Browse files
committed
Fix broken build
1 parent 7d486c5 commit 59eac50

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/Microsoft.ML.Functional.Tests/DataTransformation.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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 }));

0 commit comments

Comments
 (0)