1 write to _bestCluster
Microsoft.ML.KMeansClustering (1)
KMeansPlusPlusTrainer.cs (1)
1287_bestCluster = new int[MaxInstancesToAccelerate];
6 references to _bestCluster
Microsoft.ML.KMeansClustering (6)
KMeansPlusPlusTrainer.cs (6)
1259return _bestCluster[idx]; 1308int previousCluster = _bestCluster[n]; 1309_bestCluster[n] = minCluster; 1320_upperBound[n] += Delta[_bestCluster[n]]; 1337float bestDistance = MathUtils.Sqrt(VectorUtils.L2DistSquared(in features, in centroids[_bestCluster[n]])); 1341if (j == _bestCluster[n])