1 write to Metrics
Microsoft.ML.Data (1)
TrainCatalog.cs (1)
78Metrics = metrics;
12 references to Metrics
Microsoft.ML.AutoML (7)
API\BinaryClassificationExperiment.cs (2)
400var metric = GetMetric(metricManager.Metric, res.Metrics); 413Metrics = res.Metrics,
API\MulticlassClassificationExperiment.cs (2)
378var metric = GetMetric(metricManager.Metric, res.Metrics); 391Metrics = res.Metrics,
API\RegressionExperiment.cs (2)
405var metric = GetMetric(metricManager.Metric, res.Metrics); 418Metrics = res.Metrics,
Utils\BestResultUtil.cs (1)
116var crossValidationResult = result.CrossValidationMetrics.Select(m => new TrainResult<TMetrics>(new ModelContainer(context, m.Model), m.Metrics, result.Exception));
Microsoft.ML.IntegrationTests (4)
Validation.cs (4)
48Assert.IsType<RegressionMetrics>(cvResult[0].Metrics); 55Common.AssertMetrics(result.Metrics); 90Assert.True(result[i].Metrics.NormalizedDiscountedCumulativeGains.Max() > .4); 91Assert.True(result[i].Metrics.DiscountedCumulativeGains.Max() > 16);
Microsoft.ML.Tests (1)
Scenarios\Api\CookbookSamples\CookbookSamplesDynamicApi.cs (1)
668var microAccuracies = cvResults.Select(r => r.Metrics.MicroAccuracy);