1 write to ValidationMetrics
Microsoft.ML.AutoML (1)
API\RunDetails\CrossValidationRunDetail.cs (1)
73
ValidationMetrics
= metrics;
8 references to ValidationMetrics
Microsoft.ML.AutoML (2)
Utils\BestResultUtil.cs (2)
62
results = results.Where(r => r.Results != null && r.Results.Any(x => x.
ValidationMetrics
!= null));
64
var scores = results.Select(r => r.Results.Average(x => metricsAgent.GetScore(x.
ValidationMetrics
)));
Microsoft.ML.AutoML.Tests (6)
AutoFitTests.cs (6)
140
Assert.True(result.BestRun.Results.Select(x => x.
ValidationMetrics
.Accuracy).Min() > 0.70);
205
Assert.True(result.BestRun.Results.Select(x => x.
ValidationMetrics
.RSquared).Min() > 0.70);
288
result.BestRun.Results.First().
ValidationMetrics
.MicroAccuracy.Should().BeGreaterThan(0.7);
373
result.BestRun.Results.Select(x => x.
ValidationMetrics
.MicroAccuracy).Max().Should().BeGreaterThan(0.1);
506
Assert.True(model.
ValidationMetrics
.NormalizedDiscountedCumulativeGains.Max() > 0.31);
507
Assert.True(model.
ValidationMetrics
.DiscountedCumulativeGains.Max() > 15);