22 references to 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)))
Microsoft.ML.EntryPoints (2)
FeatureCombiner.cs (2)
110viewTrain = new KeyToVectorMappingTransformer(host, ktv.Select(c => new KeyToVectorMappingEstimator.ColumnOptions(c.Name, c.Name)).ToArray()).Transform(viewTrain); 177Utils.Add(ref ktv, new KeyToVectorMappingEstimator.ColumnOptions(colName, col.Name));
Microsoft.ML.Tests (14)
Transformers\KeyToVectorEstimatorTests.cs (14)
61var pipe = ML.Transforms.Conversion.MapKeyToVector(new KeyToVectorMappingEstimator.ColumnOptions("CatA", "TermA", false), 62new KeyToVectorMappingEstimator.ColumnOptions("CatB", "TermB", true), 63new KeyToVectorMappingEstimator.ColumnOptions("CatC", "TermC", true), 64new KeyToVectorMappingEstimator.ColumnOptions("CatCNonBag", "TermC", false)); 115new KeyToVectorMappingEstimator.ColumnOptions("CatA", "TA", true), 116new KeyToVectorMappingEstimator.ColumnOptions("CatB", "TB", false), 117new KeyToVectorMappingEstimator.ColumnOptions("CatC", "TC", false), 118new KeyToVectorMappingEstimator.ColumnOptions("CatD", "TD", true), 119new KeyToVectorMappingEstimator.ColumnOptions("CatE", "TE", false), 120new KeyToVectorMappingEstimator.ColumnOptions("CatF", "TF", true), 121new KeyToVectorMappingEstimator.ColumnOptions("CatG", "TG", true), 122new KeyToVectorMappingEstimator.ColumnOptions("CatH", "TH", false) 215new KeyToVectorMappingEstimator.ColumnOptions("CatA", "TermA", false), 216new KeyToVectorMappingEstimator.ColumnOptions("CatB", "TermB", true)
Microsoft.ML.Transforms (2)
OneHotEncoding.cs (1)
311toVector = new KeyToVectorMappingEstimator(_host, cols.Select(x => new KeyToVectorMappingEstimator.ColumnOptions(x.outputColumnName, x.inputColumnName, x.bag)).ToArray());
OneHotHashEncoding.cs (1)
361toVector = new KeyToVectorMappingEstimator(_host, cols.Select(x => new KeyToVectorMappingEstimator.ColumnOptions(x.outputColumnName, x.inputColumnName, x.bag)).ToArray());