1 write to WeightedCounters
Microsoft.ML.Data (1)
Evaluators\ClusteringEvaluator.cs (1)
407WeightedCounters = Weighted ? new Counters(scoreVectorSize, _calculateDbi, features) : null;
10 references to WeightedCounters
Microsoft.ML.Data (10)
Evaluators\ClusteringEvaluator.cs (10)
191nmi.Add(agg.WeightedCounters.Nmi); 192avgMinScores.Add(agg.WeightedCounters.AvgMinScores); 193if (agg.WeightedCounters.CalculateDbi) 194dbi.Add(agg.WeightedCounters.Dbi); 457if (WeightedCounters != null) 458WeightedCounters.UpdateFirstPass(intLabel, _scoresArr, weight, _indicesArr); 483if (WeightedCounters != null) 484WeightedCounters.UpdateSecondPass(in _features, _indicesArr); 516if (WeightedCounters != null) 517WeightedCounters.InitializeSecondPass(_clusterCentroids);