4 references to SampleFromGamma
Microsoft.ML.Core (4)
Utilities\Stats.cs (4)
82return SampleFromGamma(r, alpha + 1) * Math.Pow(r.NextDouble(), 1.0 / alpha); 115double gamma1 = SampleFromGamma(rand, alpha1); 116double gamma2 = SampleFromGamma(rand, alpha2); 134total += result[i] = SampleFromGamma(rand, alphas[i]);