1 write to _distancesToCentroids
Microsoft.ML.Data (1)
Evaluators\ClusteringEvaluator.cs (1)
333
_distancesToCentroids
= new Double[_numClusters];
5 references to _distancesToCentroids
Microsoft.ML.Data (5)
Evaluators\ClusteringEvaluator.cs (5)
288
var clusterCount =
_distancesToCentroids
.Length;
290
_distancesToCentroids
[i] /= _numInstancesOfClstr[i];
306
Double num =
_distancesToCentroids
[i] +
_distancesToCentroids
[j];
373
_distancesToCentroids
[assigned] += distance;