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)
45public ReadOnlySpan<double> PriorFrequencies => _priorFrequencies; 71_priorFrequencies[i] = priorCounts[i] / priorSum; 78_priorFrequencies[i] = d; 97env.CheckDecode(Utils.Size(_priorFrequencies) == LabelCardinality); 98env.CheckDecode(_priorFrequencies.All(x => x >= 0)); 128Contracts.Assert(Utils.Size(_priorFrequencies) == LabelCardinality); 129Contracts.Assert(_priorFrequencies.All(x => x >= 0)); 130ctx.Writer.WriteDoubleArray(_priorFrequencies);