3 instantiations of ColumnOptions
Microsoft.ML.Transforms (3)
Text\StopWordsRemovingTransformer.cs (3)
60
return new StopWordsRemovingTransformer(env, columns.Select(x => new StopWordsRemovingEstimator.
ColumnOptions
(x.Name, x.Source)).ToArray());
239
_columns[i] = new StopWordsRemovingEstimator.
ColumnOptions
(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, lang, langColName);
656
: this(env, columns.Select(x => new
ColumnOptions
(x.outputColumnName, x.inputColumnName, language)).ToArray())
9 references to ColumnOptions
Microsoft.ML.Transforms (9)
Text\StopWordsRemovingTransformer.cs (9)
133
internal IReadOnlyCollection<StopWordsRemovingEstimator.
ColumnOptions
> Columns => _columns.AsReadOnly();
135
private readonly StopWordsRemovingEstimator.
ColumnOptions
[] _columns;
181
private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(StopWordsRemovingEstimator.
ColumnOptions
[] columns)
199
internal StopWordsRemovingTransformer(IHostEnvironment env, params StopWordsRemovingEstimator.
ColumnOptions
[] columns) :
217
foreach (
var
column in _columns)
233
_columns = new StopWordsRemovingEstimator.
ColumnOptions
[columnsLength];
261
var cols = new StopWordsRemovingEstimator.
ColumnOptions
[options.Columns.Length];
660
internal StopWordsRemovingEstimator(IHostEnvironment env, params
ColumnOptions
[] columns)
673
foreach (
var
colInfo in Transformer.Columns)