Skip to content

Commit 768e3bf

Browse files
wschinshauheen
authored andcommitted
Fix new file (#2844)
Fixing build
1 parent d9208bf commit 768e3bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ 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+
}, "SentimentText")
146146
.AppendCacheCheckpoint(mlContext)
147147
.Append(mlContext.BinaryClassification.Trainers.StochasticDualCoordinateAscent(
148148
new SdcaBinaryTrainer.Options { NumThreads = 1 }));

0 commit comments

Comments
 (0)