4 instantiations of ColumnOptions
Microsoft.ML.Data (4)
Transforms\ConversionsExtensionsCatalog.cs (1)
217var 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]); 205cols[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)
174params KeyToVectorMappingEstimator.ColumnOptions[] columns)
Transforms\KeyToVector.cs (8)
98internal IReadOnlyCollection<KeyToVectorMappingEstimator.ColumnOptions> Columns => _columns.AsReadOnly(); 99private readonly KeyToVectorMappingEstimator.ColumnOptions[] _columns; 101private static (string outputColumnName, string inputColumnName)[] GetColumnPairs(KeyToVectorMappingEstimator.ColumnOptions[] columns) 122internal KeyToVectorMappingTransformer(IHostEnvironment env, params KeyToVectorMappingEstimator.ColumnOptions[] columns) : 187_columns = new KeyToVectorMappingEstimator.ColumnOptions[columnsLength]; 200var cols = new KeyToVectorMappingEstimator.ColumnOptions[options.Columns.Length]; 799internal KeyToVectorMappingEstimator(IHostEnvironment env, params ColumnOptions[] columns) 822foreach (var colInfo in Transformer.Columns)