1 write to _cnz
Microsoft.ML.Data (1)
Transforms\NormalizeColumnSng.cs (1)
428_cnz = new long[size];
10 references to _cnz
Microsoft.ML.Data (10)
Transforms\NormalizeColumnSng.cs (10)
433get { return _cnz; } 443get { return _m2.Select((m2, i) => Math.Sqrt(m2 / _cnz[i])).ToArray(); } 448get { return _m2.Select((m2, i) => Math.Sqrt(m2 / Math.Max(0, _cnz[i] - 1))).ToArray(); } 453get { return _m2.Select((m2, i) => m2 / _cnz[i]).ToArray(); } 458get { return _m2.Select((m2, i) => m2 / Math.Max(0, _cnz[i] - 1)).ToArray(); } 502Contracts.Assert(_trainCount >= _cnan[i] + _cnz[i]); 503MeanVarUtils.AdjustForZeros(ref _mean[i], ref _m2[i], ref _cnz[i], _trainCount - _cnan[i] - _cnz[i]); 521_cnz[j]++; 523_mean[j] += delta / _cnz[j];