1 write to LaplaceScale
Microsoft.ML.Transforms (1)
Dracula\CountTableTransformer.cs (1)
50
LaplaceScale
= laplaceScale;
5 references to LaplaceScale
Microsoft.ML.Transforms (5)
Dracula\CountTableTransformer.cs (3)
123
_host.CheckParam(columns.All(col => col.
LaplaceScale
>= 0), nameof(ColumnOptionsBase.
LaplaceScale
), "Must be greater than or equal to 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()),