32 references to WordBagEstimator
Microsoft.ML.IntegrationTests (3)
DataTransformation.cs (2)
140CharFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 3, UseAllLengths = false }, 141WordFeatureExtractor = new WordBagEstimator.Options(),
Debugging.cs (1)
56WordFeatureExtractor = new WordBagEstimator.Options { NgramLength = 1 },
Microsoft.ML.PerformanceTests (1)
FeaturizeTextBench.cs (1)
65WordFeatureExtractor = new WordBagEstimator.Options()
Microsoft.ML.Samples (3)
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (2)
57WordFeatureExtractor = new WordBagEstimator.Options() 64CharFeatureExtractor = new WordBagEstimator.Options()
Dynamic\Transforms\Text\ProduceWordBags.cs (1)
55var textPipeline = mlContext.Transforms.Text.ProduceWordBags(
Microsoft.ML.Tests (9)
Transformers\TextFeaturizerTests.cs (5)
71WordFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 1 }, 100WordFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 1 }, 142WordFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 1 }, 185CharFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 1 }, 213CharFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 1 },
Transformers\WordBagTransformerTests.cs (4)
39var textPipeline = 68var textPipeline = 107var textPipelineDefault = mlContext.Transforms.Text.ProduceWordBags("Text", termSeparator: ';', freqSeparator: ':'); 108var 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 354public 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 381public 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 408public static WordBagEstimator ProduceWordBags(this TransformsCatalog.TextTransforms catalog,
Text\TextFeaturizingEstimator.cs (6)
208private WordBagEstimator.Options _wordFeatureExtractor; 220public WordBagEstimator.Options WordFeatureExtractor 247private WordBagEstimator.Options _charFeatureExtractor; 253public WordBagEstimator.Options CharFeatureExtractor 275WordFeatureExtractor = new WordBagEstimator.Options(); 276CharFeatureExtractor = new WordBagEstimator.Options() { NgramLength = 3, UseAllLengths = false };
Text\WrappedTextTransformers.cs (1)
172_host = env.Register(nameof(WordBagEstimator));