77 references to TextFeaturizingEstimator
Microsoft.ML.Core.Tests (1)
UnitTests\TestEntryPoints.cs (1)
1806
new
TextFeaturizingEstimator
.Options
Microsoft.ML.IntegrationTests (5)
DataTransformation.cs (2)
138
new
TextFeaturizingEstimator
.Options
142
Norm =
TextFeaturizingEstimator
.NormFunction.L1
Debugging.cs (3)
49
var
pipeline = mlContext.Transforms.Text.FeaturizeText(
51
new
TextFeaturizingEstimator
.Options
57
Norm =
TextFeaturizingEstimator
.NormFunction.None
Microsoft.ML.PerformanceTests (6)
FeaturizeTextBench.cs (4)
59
var featurizers = new List<
TextFeaturizingEstimator
>();
62
var
featurizer = _mlContext.Transforms.Text.FeaturizeText(textColumn, new
TextFeaturizingEstimator
.Options()
75
foreach (
var
featurizer in featurizers.Skip(1))
StochasticDualCoordinateAscentClassifierBench.cs (2)
102
var text = _mlContext.Transforms.Text.FeaturizeText("WordEmbeddings", new
TextFeaturizingEstimator
.Options
107
Norm =
TextFeaturizingEstimator
.NormFunction.None,
Microsoft.ML.Samples (8)
Dynamic\TextTransform.cs (4)
44
var
default_pipeline = ml.Transforms.Text
50
var
customized_pipeline = ml.Transforms.Text
52
new
TextFeaturizingEstimator
.Options
61
Language =
TextFeaturizingEstimator
.Language.English
Dynamic\Transforms\Text\FeaturizeText.cs (1)
53
var
textPipeline = mlContext.Transforms.Text.FeaturizeText("Features",
Dynamic\Transforms\Text\FeaturizeTextWithOptions.cs (3)
46
var options = new
TextFeaturizingEstimator
.Options()
54
Language =
TextFeaturizingEstimator
.Language.English
71
var
textPipeline = mlContext.Transforms.Text.FeaturizeText("Features",
Microsoft.ML.Tests (31)
Scenarios\Api\Estimators\TrainWithInitialPredictor.cs (1)
28
var
pipeline = ml.Transforms.Text.FeaturizeText("Features", "SentimentText");
TrainerEstimators\TrainerEstimators.cs (1)
206
var
pipeline = new TextFeaturizingEstimator(Env, "Features", "SentimentText");
Transformers\TextFeaturizerTests.cs (29)
51
var options = new
TextFeaturizingEstimator
.Options() { StopWordsRemoverOptions = new StopWordsRemovingEstimator.Options(), OutputTokensColumnName = "OutputTokens" };
52
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
69
var options = new
TextFeaturizingEstimator
.Options()
73
Norm =
TextFeaturizingEstimator
.NormFunction.None,
76
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
98
var options = new
TextFeaturizingEstimator
.Options()
102
Norm =
TextFeaturizingEstimator
.NormFunction.None,
106
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, null);
140
var options = new
TextFeaturizingEstimator
.Options()
144
Norm =
TextFeaturizingEstimator
.NormFunction.None,
148
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options);
182
var options = new
TextFeaturizingEstimator
.Options()
186
Norm =
TextFeaturizingEstimator
.NormFunction.None,
189
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
211
var options = new
TextFeaturizingEstimator
.Options()
214
Norm =
TextFeaturizingEstimator
.NormFunction.L2,
217
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
242
var options = new
TextFeaturizingEstimator
.Options()
251
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
263
var options = new
TextFeaturizingEstimator
.Options()
268
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
311
var options = new
TextFeaturizingEstimator
.Options()
317
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
348
var options = new
TextFeaturizingEstimator
.Options()
354
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
386
var options = new
TextFeaturizingEstimator
.Options()
392
var
pipeline = ML.Transforms.Text.FeaturizeText("Features", options, "A");
436
var
feat = ML.Transforms.Text.FeaturizeText("Data", new
TextFeaturizingEstimator
.Options { OutputTokensColumnName = "OutputTokens" }, new[] { "text" });
Microsoft.ML.Transforms (26)
EntryPoints\TextAnalytics.cs (5)
21
Desc =
TextFeaturizingEstimator
.Summary,
22
UserName =
TextFeaturizingEstimator
.UserName,
23
ShortName =
TextFeaturizingEstimator
.LoaderSignature)]
24
public static CommonOutputs.TransformOutput TextTransform(IHostEnvironment env,
TextFeaturizingEstimator
.Options input)
27
var xf =
TextFeaturizingEstimator
.Create(h, input, input.Data);
Text\SentimentAnalyzingTransform.cs (1)
15
[assembly: LoadableClass(
TextFeaturizingEstimator
.Summary, typeof(IDataTransform), typeof(SentimentAnalyzingTransformer), typeof(SentimentAnalyzingTransformer.Arguments), typeof(SignatureDataTransform),
Text\StopWordsRemovingTransformer.cs (2)
556
public
TextFeaturizingEstimator
.Language Language;
560
Language =
TextFeaturizingEstimator
.DefaultLanguage;
Text\TextCatalog.cs (5)
21
/// Create a <see cref="
TextFeaturizingEstimator
"/>, which transforms a text column into a featurized vector of <see cref="System.Single"/> that represents normalized counts of n-grams and char-grams.
36
public static
TextFeaturizingEstimator
FeaturizeText(this TransformsCatalog.TextTransforms catalog,
43
/// Create a <see cref="
TextFeaturizingEstimator
"/>, which transforms a text column into featurized vector of <see cref="System.Single"/> that represents normalized counts of n-grams and char-grams.
61
public static
TextFeaturizingEstimator
FeaturizeText(this TransformsCatalog.TextTransforms catalog,
63
TextFeaturizingEstimator
.Options options,
Text\TextFeaturizingEstimator.cs (13)
18
[assembly: LoadableClass(
TextFeaturizingEstimator
.Summary, typeof(IDataTransform), typeof(
TextFeaturizingEstimator
), typeof(
TextFeaturizingEstimator
.Options), typeof(SignatureDataTransform),
19
TextFeaturizingEstimator
.UserName, "TextTransform",
TextFeaturizingEstimator
.LoaderSignature)]
21
[assembly: LoadableClass(
TextFeaturizingEstimator
.Summary, typeof(ITransformer), typeof(
TextFeaturizingEstimator
), null, typeof(SignatureLoadModel),
22
TextFeaturizingEstimator
.UserName, "TextTransform",
TextFeaturizingEstimator
.LoaderSignature)]
124
/// Advanced options for the <see cref="
TextFeaturizingEstimator
"/>.
376
public TransformApplierParams(
TextFeaturizingEstimator
parent)
411
_host = env.Register(nameof(
TextFeaturizingEstimator
));
663
var
estimator = new TextFeaturizingEstimator(env, args.Columns.Name, args.Columns.Source ?? new[] { args.Columns.Name }, args);