4 instantiations of ColumnOptions
Microsoft.ML.Data (4)
Transforms\ConversionsExtensionsCatalog.cs (1)
217
var columnOptions = columns.Select(x => new KeyToVectorMappingEstimator.
ColumnOptions
(x.OutputColumnName, x.InputColumnName, outputCountVector)).ToArray();
Transforms\KeyToVector.cs (3)
189
_columns[i] = new KeyToVectorMappingEstimator.
ColumnOptions
(ColumnPairs[i].outputColumnName, ColumnPairs[i].inputColumnName, bags[i]);
205
cols[i] = new KeyToVectorMappingEstimator.
ColumnOptions
(
805
: this(env, new KeyToVectorMappingTransformer(env, new
ColumnOptions
(outputColumnName, inputColumnName ?? outputColumnName, outputCountVector)))
9 references to ColumnOptions
Microsoft.ML.Data (9)
Transforms\ConversionsExtensionsCatalog.cs (1)
174
params KeyToVectorMappingEstimator.
ColumnOptions
[] columns)
Transforms\KeyToVector.cs (8)
98
internal IReadOnlyCollection<KeyToVectorMappingEstimator.
ColumnOptions
> Columns => _columns.AsReadOnly();
99
private readonly KeyToVectorMappingEstimator.
ColumnOptions
[] _columns;
101
private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(KeyToVectorMappingEstimator.
ColumnOptions
[] columns)
122
internal KeyToVectorMappingTransformer(IHostEnvironment env, params KeyToVectorMappingEstimator.
ColumnOptions
[] columns) :
187
_columns = new KeyToVectorMappingEstimator.
ColumnOptions
[columnsLength];
200
var cols = new KeyToVectorMappingEstimator.
ColumnOptions
[options.Columns.Length];
799
internal KeyToVectorMappingEstimator(IHostEnvironment env, params
ColumnOptions
[] columns)
822
foreach (
var
colInfo in Transformer.Columns)