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)
432
get { return
_cnz
; }
442
get { return _m2.Select((m2, i) => Math.Sqrt(m2 /
_cnz
[i])).ToArray(); }
447
get { return _m2.Select((m2, i) => Math.Sqrt(m2 / Math.Max(0,
_cnz
[i] - 1))).ToArray(); }
452
get { return _m2.Select((m2, i) => m2 /
_cnz
[i]).ToArray(); }
457
get { return _m2.Select((m2, i) => m2 / Math.Max(0,
_cnz
[i] - 1)).ToArray(); }
500
Contracts.Assert(_trainCount >= _cnan[i] +
_cnz
[i]);
501
MeanVarUtils.AdjustForZeros(ref _mean[i], ref _m2[i], ref
_cnz
[i], _trainCount - _cnan[i] -
_cnz
[i]);
519
_cnz
[j]++;
521
_mean[j] += delta /
_cnz
[j];