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