32 references to WordBagEstimator
Microsoft.ML.IntegrationTests (3)
DataTransformation.cs (2)
140
CharFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 3, UseAllLengths = false },
141
WordFeatureExtractor = new
WordBagEstimator
.Options(),
Debugging.cs (1)
56
WordFeatureExtractor = new
WordBagEstimator
.Options { NgramLength = 1 },
Microsoft.ML.PerformanceTests (1)
FeaturizeTextBench.cs (1)
65
WordFeatureExtractor = new
WordBagEstimator
.Options()
Microsoft.ML.Samples (3)
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (2)
57
WordFeatureExtractor = new
WordBagEstimator
.Options()
64
CharFeatureExtractor = new
WordBagEstimator
.Options()
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
55
var
textPipeline = mlContext.Transforms.Text.ProduceWordBags(
Microsoft.ML.Tests (9)
Transformers\TextFeaturizerTests.cs (5)
71
WordFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 1 },
100
WordFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 1 },
142
WordFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 1 },
185
CharFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 1 },
213
CharFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 1 },
Transformers\WordBagTransformerTests.cs (4)
39
var
textPipeline =
68
var
textPipeline =
107
var
textPipelineDefault = mlContext.Transforms.Text.ProduceWordBags("Text", termSeparator: ';', freqSeparator: ':');
108
var
textPipelineNonDefault = mlContext.Transforms.Text.ProduceWordBags("Text", termSeparator: ':', freqSeparator: ';');
Microsoft.ML.Transforms (16)
Text\TextCatalog.cs (9)
337
/// Create a <see cref="
WordBagEstimator
"/>, which maps the column specified in <paramref name="inputColumnName"/>
341
/// <see cref="
WordBagEstimator
"/> is different from <see cref="NgramExtractingEstimator"/> in that the former
354
public static
WordBagEstimator
ProduceWordBags(this TransformsCatalog.TextTransforms catalog,
366
/// Create a <see cref="
WordBagEstimator
"/>, which maps the column specified in <paramref name="inputColumnName"/>
370
/// <see cref="
WordBagEstimator
"/> is different from <see cref="NgramExtractingEstimator"/> in that the former
381
public static
WordBagEstimator
ProduceWordBags(this TransformsCatalog.TextTransforms catalog,
391
/// Create a <see cref="
WordBagEstimator
"/>, which maps the multiple columns specified in <paramref name="inputColumnNames"/>
395
/// <see cref="
WordBagEstimator
"/> is different from <see cref="NgramExtractingEstimator"/> in that the former
408
public static
WordBagEstimator
ProduceWordBags(this TransformsCatalog.TextTransforms catalog,
Text\TextFeaturizingEstimator.cs (6)
208
private
WordBagEstimator
.Options _wordFeatureExtractor;
220
public
WordBagEstimator
.Options WordFeatureExtractor
247
private
WordBagEstimator
.Options _charFeatureExtractor;
253
public
WordBagEstimator
.Options CharFeatureExtractor
275
WordFeatureExtractor = new
WordBagEstimator
.Options();
276
CharFeatureExtractor = new
WordBagEstimator
.Options() { NgramLength = 3, UseAllLengths = false };
Text\WrappedTextTransformers.cs (1)
172
_host = env.Register(nameof(
WordBagEstimator
));