2 writes to LaplaceScale
Microsoft.ML.Transforms (2)
Dracula\Featurizer.cs (2)
57LaplaceScale = laplaceScale; 92LaplaceScale = ctx.Reader.ReadFloatArray(_countTables.ColCount);
5 references to LaplaceScale
Microsoft.ML.Transforms (5)
Dracula\CountTableTransformer.cs (1)
111initial.Featurizer.PriorCoef[i], initial.Featurizer.LaplaceScale[i], initial.Seeds[i]);
Dracula\Featurizer.cs (4)
93_host.CheckDecode(LaplaceScale.All(x => x >= 0)); 112ctx.Writer.WriteSinglesNoCount(LaplaceScale); 178if (rand != null && LaplaceScale[iCol] > 0) 179counts[ifeat] += Stats.SampleFromLaplacian(rand, 0, LaplaceScale[iCol]);