2 writes to PriorCoef
Microsoft.ML.Transforms (2)
Dracula\Featurizer.cs (2)
55
PriorCoef
= priorCoef;
89
PriorCoef
= ctx.Reader.ReadFloatArray(_countTables.ColCount);
7 references to PriorCoef
Microsoft.ML.Transforms (7)
Dracula\CountTableTransformer.cs (3)
105
if (columns.Length != initial.Featurizer.
PriorCoef
.Length)
106
throw Contracts.ExceptParam(nameof(columns), $"New estimator applied {columns.Length} columns, but old transformer applied to {initial.Featurizer.
PriorCoef
.Length} columns");
111
initial.Featurizer.
PriorCoef
[i], initial.Featurizer.LaplaceScale[i], initial.Seeds[i]);
Dracula\Featurizer.cs (4)
90
_host.CheckDecode(
PriorCoef
.All(x => x > 0));
111
ctx.Writer.WriteSinglesNoCount(
PriorCoef
);
205
(counts[i] +
PriorCoef
[iCol] * countTable.PriorFrequencies[i]) /
206
(sum - counts[i] +
PriorCoef
[iCol] * (1 - countTable.PriorFrequencies[i])));