2 types derived from ColumnOptionsBase
Microsoft.ML.Transforms (2)
Dracula\CountTableTransformer.cs (2)
55
internal sealed class ColumnOptions :
ColumnOptionsBase
67
internal sealed class SharedColumnOptions :
ColumnOptionsBase
12 references to ColumnOptionsBase
Microsoft.ML.Transforms (12)
Dracula\CountTableTransformer.cs (9)
77
private readonly
ColumnOptionsBase
[] _columns;
91
: this(env, labelColumnName, columns.Cast<
ColumnOptionsBase
>().ToArray())
102
private static
ColumnOptionsBase
[] ExtractColumnOptions(CountTableTransformer initial, InputOutputColumnPair[] columns)
107
var cols = new
ColumnOptionsBase
[columns.Length];
116
private CountTableEstimator(IHostEnvironment env, string labelColumnName,
ColumnOptionsBase
[] columns)
122
_host.CheckParam(columns.All(col => col.PriorCoefficient > 0), nameof(
ColumnOptionsBase
.PriorCoefficient), "Must be greater than zero");
123
_host.CheckParam(columns.All(col => col.LaplaceScale >= 0), nameof(
ColumnOptionsBase
.LaplaceScale), "Must be greater than or equal to zero.");
161
foreach (
var
c in _columns)
328
foreach (
var
colInfo in _columns)
Dracula\CountTargetEncodingTransformer.cs (3)
154
private CountTargetEncodingEstimator(IHostEnvironment env, CountTableEstimator estimator, CountTableEstimator.
ColumnOptionsBase
[] columns,
250
private HashingEstimator.ColumnOptions[] InitializeHashingColumnOptions(CountTableEstimator.
ColumnOptionsBase
[] columns, int numberOfBits, bool combine, uint hashingSeed)
255
var
column = columns[i];