2 writes to AverageDistance
Microsoft.ML.Data (2)
Evaluators\Metrics\ClusteringMetrics.cs (2)
43AverageDistance = Fetch(ClusteringEvaluator.AvgMinScore); 52AverageDistance = avgMinScore;
4 references to AverageDistance
Microsoft.ML.IntegrationTests (1)
Common.cs (1)
214Assert.True(metrics.AverageDistance >= 0);
Microsoft.ML.Samples (2)
Dynamic\Trainers\Clustering\KMeans.cs (1)
142$"{metrics.AverageDistance:F2}");
Dynamic\Trainers\Clustering\KMeansWithOptions.cs (1)
150$"{metrics.AverageDistance:F2}");
Microsoft.ML.Tests (1)
Scenarios\ClusteringTests.cs (1)
90Assert.Equal(0d, metrics.AverageDistance, 0.00001);