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)
262var py = _numInstancesOfClstr[j] / _numInstances; 290_distancesToCentroids[i] /= _numInstancesOfClstr[i]; 295if (_numInstancesOfClstr[i] == 0) 303if (_numInstancesOfClstr[j] == 0) 352_numInstancesOfClstr[assigned] += weight; 364VectorUtils.ScaleBy(ref _clusterCentroids[i], (Single)(1.0 / _numInstancesOfClstr[i]));