13 writes to Metric
Microsoft.ML.AutoML (8)
API\BinaryClassificationExperiment.cs (2)
409Metric = metric, 435Metric = metric,
API\MulticlassClassificationExperiment.cs (2)
387Metric = metric, 413Metric = metric,
API\RegressionExperiment.cs (2)
414Metric = metric, 440Metric = metric,
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (2)
65Metric = metric, 84Metric = metric,
Microsoft.ML.AutoML.Tests (4)
AutoMLExperimentTests.cs (1)
457Metric = metric,
TunerTests.cs (3)
62Metric = i, 274Metric = metric, 374Metric = metric,
Microsoft.ML.Fairlearn (1)
Reductions\GridSearchTrialRunner.cs (1)
99Metric = metric,
20 references to Metric
Microsoft.ML.AutoML (5)
AutoMLExperiment\IMonitor.cs (4)
43_logger.Info($"Update Best Trial - Id: {result.TrialSettings.TrialId} - Metric: {result.Metric} - Pipeline: {_pipeline.ToString(result.TrialSettings.Parameter)}"); 50_logger.Info($"Update Completed Trial - Id: {result.TrialSettings.TrialId} - Raw Metric: {result.Metric + fResult.FairnessMetric} - Fairness Metric: {-fResult.FairnessMetric} - Total Metric: {result.Metric} - Pipeline: {this._pipeline} - Duration: {result.DurationInMilliseconds}"); 54_logger.Info($"Update Completed Trial - Id: {result.TrialSettings.TrialId} - Metric: {result.Metric} - Pipeline: {this._pipeline} - Duration: {result.DurationInMilliseconds}");
Tuner\SmacTuner.cs (1)
194double bestLoss = _histories.Min(t => t.Metric);
Microsoft.ML.AutoML.Interactive (2)
AutoMLMonitorKernelExtension.cs (1)
75var y = monitor.CompletedTrials.Select(x => x.Metric);
NotebookMonitor.cs (1)
52new KeyValuePair<string, object>("Metric", result.Metric),
Microsoft.ML.AutoML.Tests (12)
AutoMLExperimentTests.cs (12)
148res.Metric.Should().BeGreaterThan(0); 177res.Metric.Should().BeGreaterThan(0); 231result.Metric.Should().BeGreaterThan(0.8); 256result.Metric.Should().BeGreaterThan(0.8); 281result.Metric.Should().BeGreaterThan(0.8); 308result.Metric.Should().BeGreaterThan(0.8); 335result.Metric.Should().BeGreaterThan(0.8); 362result.Metric.Should().BeGreaterThan(0.5); 371result.Metric.Should().BeGreaterThan(0.5); 392result.Metric.Should().BeGreaterThan(0.5); 411result.Metric.Should().BeGreaterThan(0.2); 412result.Metric.Should().BeLessThan(0.5);
Microsoft.ML.Fairlearn.Tests (1)
GridSearchTest.cs (1)
106bestResult.Metric.Should().BeGreaterOrEqualTo(0.4);