Skip to content

Commit

Permalink
removed extra lpnorm (dotnet#824)
Browse files Browse the repository at this point in the history
  • Loading branch information
AnoojNair authored Jul 2, 2020
1 parent 61e842c commit 5308cda
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ static void Main(string[] args)
{
WordFeatureExtractor = new Microsoft.ML.Transforms.Text.WordBagEstimator.Options { NgramLength = 2, UseAllLengths = true },
CharFeatureExtractor = new Microsoft.ML.Transforms.Text.WordBagEstimator.Options { NgramLength = 3, UseAllLengths = false },
Norm = Microsoft.ML.Transforms.Text.TextFeaturizingEstimator.NormFunction.L2,
}, "Message"))
.Append(mlContext.Transforms.CopyColumns("Features", "FeaturesText"))
.Append(mlContext.Transforms.NormalizeLpNorm("Features", "Features"))
.AppendCacheCheckpoint(mlContext);

// Set the training algorithm
Expand Down

0 comments on commit 5308cda

Please sign in to comment.