2 writes to M2
Microsoft.ML.Core (2)
Utilities\SummaryStatistics.cs (2)
110M2 += Count * delta * r; 141M2 += s.M2 + delta * delta * na * nb / nx;
14 references to M2
Microsoft.ML.Core (14)
Utilities\SummaryStatistics.cs (14)
26s.Mean == Mean && s.M2 == M2 && s.Min == Min 33Count, Mean, M2, Min, Max, NonzeroCount); 64public double SampleVariance => (M2 / Count) * RawCount / (RawCount - 1); 141M2 += s.M2 + delta * delta * na * nb / nx; 218public double Skewness => Math.Sqrt(Count) * _m3 / Math.Pow(M2, 1.5); 223public double Kurtosis => Count * _m4 / (M2 * M2) - 3; 331+ 6 * deltaN2 * w * w * M2 333_m3 += term1 * deltaN * (Count - w) - 3 * w * deltaN * M2; 3556 * (na * na * s.M2 + nb * nb * M2)) / nx + 357_m3 += s._m3 + delta * (delta * delta * na * nb * (na - nb) / nx + 3 * (na * s.M2 - nb * M2)) / nx;