1 write to PriorCoefficient
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
49
PriorCoefficient
= priorCoefficient;
5 references to PriorCoefficient
Microsoft.ML.Transforms (5)
Dracula\CountTableTransformer.cs (3)
122
_host.CheckParam(columns.All(col => col.
PriorCoefficient
> 0), nameof(ColumnOptionsBase.
PriorCoefficient
), "Must be greater than zero");
172
var featurizer = new CountTargetEncodingFeaturizer(_host, _columns.Select(col => col.
PriorCoefficient
).ToArray(), _columns.Select(col => col.LaplaceScale).ToArray(), labelCardinality, multiCountTable);
Dracula\CountTargetEncodingTransformer.cs (2)
127
columnOptions.Select(col => new CountTableEstimator.ColumnOptions(col.Name, col.Name, col.CountTableBuilder, col.
PriorCoefficient
, col.LaplaceScale, col.Seed)).ToArray()),
136
columnOptions.Select(col => new CountTableEstimator.SharedColumnOptions(col.Name, col.Name, col.
PriorCoefficient
, col.LaplaceScale, col.Seed)).ToArray()),