2 implementations of PriorFrequencies
Microsoft.ML.Transforms (2)
Dracula\CountTable.cs (1)
45
public ReadOnlySpan<double>
PriorFrequencies
=> _priorFrequencies;
Dracula\MultiCountTable.cs (1)
376
public ReadOnlySpan<double>
PriorFrequencies
=> _table.PriorFrequencies;
5 references to PriorFrequencies
Microsoft.ML.Transforms (5)
Dracula\Featurizer.cs (4)
200
if (counts[i] <= 0 && countTable.
PriorFrequencies
[i] <= 0 || countTable.
PriorFrequencies
[i] >= 1)
205
(counts[i] + PriorCoef[iCol] * countTable.
PriorFrequencies
[i]) /
206
(sum - counts[i] + PriorCoef[iCol] * (1 - countTable.
PriorFrequencies
[i])));
Dracula\MultiCountTable.cs (1)
376
public ReadOnlySpan<double> PriorFrequencies => _table.
PriorFrequencies
;