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