31 references to ColumnOptions
Microsoft.ML.Tests (27)
OnnxConversionTest.cs (2)
1006
new OneHotHashEncodingEstimator.
ColumnOptions
("Output", "F3", useOrderedHashing:false),
2027
new OneHotHashEncodingEstimator.
ColumnOptions
("Output", "F3", useOrderedHashing:false),
Transformers\CategoricalHashTests.cs (25)
53
new OneHotHashEncodingEstimator.
ColumnOptions
("CatA", "A", OneHotEncodingEstimator.OutputKind.Bag),
54
new OneHotHashEncodingEstimator.
ColumnOptions
("CatB", "A", OneHotEncodingEstimator.OutputKind.Binary),
55
new OneHotHashEncodingEstimator.
ColumnOptions
("CatC", "A", OneHotEncodingEstimator.OutputKind.Indicator),
56
new OneHotHashEncodingEstimator.
ColumnOptions
("CatD", "A", OneHotEncodingEstimator.OutputKind.Key),
57
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVA", "B", OneHotEncodingEstimator.OutputKind.Bag),
58
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVB", "B", OneHotEncodingEstimator.OutputKind.Binary),
59
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVC", "B", OneHotEncodingEstimator.OutputKind.Indicator),
60
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVD", "B", OneHotEncodingEstimator.OutputKind.Key),
61
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVVA", "C", OneHotEncodingEstimator.OutputKind.Bag),
62
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVVB", "C", OneHotEncodingEstimator.OutputKind.Binary),
63
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVVC", "C", OneHotEncodingEstimator.OutputKind.Indicator),
64
new OneHotHashEncodingEstimator.
ColumnOptions
("CatVVD", "C", OneHotEncodingEstimator.OutputKind.Key),
121
new OneHotHashEncodingEstimator.
ColumnOptions
("CatA", "A", OneHotEncodingEstimator.OutputKind.Bag, maximumNumberOfInverts: -1),
122
new OneHotHashEncodingEstimator.
ColumnOptions
("CatB", "B", OneHotEncodingEstimator.OutputKind.Bag, maximumNumberOfInverts: -1),
123
new OneHotHashEncodingEstimator.
ColumnOptions
("CatC", "C", OneHotEncodingEstimator.OutputKind.Bag, maximumNumberOfInverts: -1),
124
new OneHotHashEncodingEstimator.
ColumnOptions
("CatD", "D", OneHotEncodingEstimator.OutputKind.Bag, maximumNumberOfInverts: -1),
125
new OneHotHashEncodingEstimator.
ColumnOptions
("CatE", "E", OneHotEncodingEstimator.OutputKind.Indicator, maximumNumberOfInverts: -1),
126
new OneHotHashEncodingEstimator.
ColumnOptions
("CatF", "F", OneHotEncodingEstimator.OutputKind.Indicator, maximumNumberOfInverts: -1),
127
new OneHotHashEncodingEstimator.
ColumnOptions
("CatG", "A", OneHotEncodingEstimator.OutputKind.Key, maximumNumberOfInverts: -1),
128
new OneHotHashEncodingEstimator.
ColumnOptions
("CatH", "B", OneHotEncodingEstimator.OutputKind.Key, maximumNumberOfInverts: -1),
129
new OneHotHashEncodingEstimator.
ColumnOptions
("CatI", "A", OneHotEncodingEstimator.OutputKind.Binary, maximumNumberOfInverts: -1),
130
new OneHotHashEncodingEstimator.
ColumnOptions
("CatJ", "B", OneHotEncodingEstimator.OutputKind.Binary, maximumNumberOfInverts: -1));
226
new OneHotHashEncodingEstimator.
ColumnOptions
("CatHashA", "A"),
227
new OneHotHashEncodingEstimator.
ColumnOptions
("CatHashB", "B"),
228
new OneHotHashEncodingEstimator.
ColumnOptions
("CatHashC", "C"),
Microsoft.ML.Transforms (4)
CategoricalCatalog.cs (2)
148
new[] { new OneHotHashEncodingEstimator.
ColumnOptions
(outputColumnName, inputColumnName, outputKind, numberOfBits, seed, useOrderedHashing, maximumNumberOfInverts) });
186
var columnOptions = columns.Select(x => new OneHotHashEncodingEstimator.
ColumnOptions
(x.OutputColumnName, x.InputColumnName, outputKind, numberOfBits, seed, useOrderedHashing, maximumNumberOfInverts)).ToArray();
OneHotHashEncoding.cs (2)
154
var col = new OneHotHashEncodingEstimator.
ColumnOptions
(
320
: this(env, new
ColumnOptions
(outputColumnName, inputColumnName ?? outputColumnName, outputKind, numberOfBits, maximumNumberOfInverts: maximumNumberOfInverts))