Skip to content

Commit

Permalink
Fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwell committed Mar 5, 2019
1 parent 7d486c5 commit 59eac50
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/Microsoft.ML.Functional.Tests/DataTransformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,14 @@ void ExtensibilityModifyTextFeaturization()

// Create a training pipeline.
// TODO #2802: Update FeaturizeText to allow specifications of word-grams and char-grams.
var pipeline = mlContext.Transforms.Text.FeaturizeText("Features", new string[] { "SentimentText" },
var pipeline = mlContext.Transforms.Text.FeaturizeText("Features",
new TextFeaturizingEstimator.Options
{
UseCharExtractor = true,
UseWordExtractor = true,
VectorNormalizer = TextFeaturizingEstimator.TextNormKind.L1
})
},
"SentimentText")
.AppendCacheCheckpoint(mlContext)
.Append(mlContext.BinaryClassification.Trainers.StochasticDualCoordinateAscent(
new SdcaBinaryTrainer.Options { NumThreads = 1 }));
Expand Down

0 comments on commit 59eac50

Please sign in to comment.