1 write to _cnz
Microsoft.ML.Data (1)
Transforms\NormalizeColumnDbl.cs (1)
427_cnz = new long[size];
10 references to _cnz
Microsoft.ML.Data (10)
Transforms\NormalizeColumnDbl.cs (10)
432get { return _cnz; } 442get { return _m2.Select((m2, i) => Math.Sqrt(m2 / _cnz[i])).ToArray(); } 447get { return _m2.Select((m2, i) => Math.Sqrt(m2 / Math.Max(0, _cnz[i] - 1))).ToArray(); } 452get { return _m2.Select((m2, i) => m2 / _cnz[i]).ToArray(); } 457get { return _m2.Select((m2, i) => m2 / Math.Max(0, _cnz[i] - 1)).ToArray(); } 500Contracts.Assert(_trainCount >= _cnan[i] + _cnz[i]); 501MeanVarUtils.AdjustForZeros(ref _mean[i], ref _m2[i], ref _cnz[i], _trainCount - _cnan[i] - _cnz[i]); 519_cnz[j]++; 521_mean[j] += delta / _cnz[j];