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)
433
get { return
_cnz
; }
443
get { return _m2.Select((m2, i) => Math.Sqrt(m2 /
_cnz
[i])).ToArray(); }
448
get { return _m2.Select((m2, i) => Math.Sqrt(m2 / Math.Max(0,
_cnz
[i] - 1))).ToArray(); }
453
get { return _m2.Select((m2, i) => m2 /
_cnz
[i]).ToArray(); }
458
get { return _m2.Select((m2, i) => m2 / Math.Max(0,
_cnz
[i] - 1)).ToArray(); }
502
Contracts.Assert(_trainCount >= _cnan[i] +
_cnz
[i]);
503
MeanVarUtils.AdjustForZeros(ref _mean[i], ref _m2[i], ref
_cnz
[i], _trainCount - _cnan[i] -
_cnz
[i]);
521
_cnz
[j]++;
523
_mean[j] += delta /
_cnz
[j];