1 write to _numInstancesOfClstr
Microsoft.ML.Data (1)
Evaluators\ClusteringEvaluator.cs (1)
324
_numInstancesOfClstr
= new Double[_numClusters];
6 references to _numInstancesOfClstr
Microsoft.ML.Data (6)
Evaluators\ClusteringEvaluator.cs (6)
262
var py =
_numInstancesOfClstr
[j] / _numInstances;
290
_distancesToCentroids[i] /=
_numInstancesOfClstr
[i];
295
if (
_numInstancesOfClstr
[i] == 0)
303
if (
_numInstancesOfClstr
[j] == 0)
352
_numInstancesOfClstr
[assigned] += weight;
364
VectorUtils.ScaleBy(ref _clusterCentroids[i], (Single)(1.0 /
_numInstancesOfClstr
[i]));