2 writes to _priorFrequencies
Microsoft.ML.Transforms (2)
Dracula\CountTable.cs (2)
67
_priorFrequencies
= new double[priorCounts.Length];
96
_priorFrequencies
= ctx.Reader.ReadDoubleArray();
8 references to _priorFrequencies
Microsoft.ML.Transforms (8)
Dracula\CountTable.cs (8)
45
public ReadOnlySpan<double> PriorFrequencies =>
_priorFrequencies
;
71
_priorFrequencies
[i] = priorCounts[i] / priorSum;
78
_priorFrequencies
[i] = d;
97
env.CheckDecode(Utils.Size(
_priorFrequencies
) == LabelCardinality);
98
env.CheckDecode(
_priorFrequencies
.All(x => x >= 0));
128
Contracts.Assert(Utils.Size(
_priorFrequencies
) == LabelCardinality);
129
Contracts.Assert(
_priorFrequencies
.All(x => x >= 0));
130
ctx.Writer.WriteDoubleArray(
_priorFrequencies
);