13 writes to Metric
Microsoft.ML.AutoML (8)
API\BinaryClassificationExperiment.cs (2)
409
Metric
= metric,
435
Metric
= metric,
API\MulticlassClassificationExperiment.cs (2)
387
Metric
= metric,
413
Metric
= metric,
API\RegressionExperiment.cs (2)
414
Metric
= metric,
440
Metric
= metric,
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (2)
65
Metric
= metric,
84
Metric
= metric,
Microsoft.ML.AutoML.Tests (4)
AutoMLExperimentTests.cs (1)
457
Metric
= metric,
TunerTests.cs (3)
62
Metric
= i,
274
Metric
= metric,
374
Metric
= metric,
Microsoft.ML.Fairlearn (1)
Reductions\GridSearchTrialRunner.cs (1)
99
Metric
= 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)
194
double bestLoss = _histories.Min(t => t.
Metric
);
Microsoft.ML.AutoML.Interactive (2)
AutoMLMonitorKernelExtension.cs (1)
75
var y = monitor.CompletedTrials.Select(x => x.
Metric
);
NotebookMonitor.cs (1)
52
new KeyValuePair<string, object>("Metric", result.
Metric
),
Microsoft.ML.AutoML.Tests (12)
AutoMLExperimentTests.cs (12)
148
res.
Metric
.Should().BeGreaterThan(0);
177
res.
Metric
.Should().BeGreaterThan(0);
231
result.
Metric
.Should().BeGreaterThan(0.8);
256
result.
Metric
.Should().BeGreaterThan(0.8);
281
result.
Metric
.Should().BeGreaterThan(0.8);
308
result.
Metric
.Should().BeGreaterThan(0.8);
335
result.
Metric
.Should().BeGreaterThan(0.8);
362
result.
Metric
.Should().BeGreaterThan(0.5);
371
result.
Metric
.Should().BeGreaterThan(0.5);
392
result.
Metric
.Should().BeGreaterThan(0.5);
411
result.
Metric
.Should().BeGreaterThan(0.2);
412
result.
Metric
.Should().BeLessThan(0.5);
Microsoft.ML.Fairlearn.Tests (1)
GridSearchTest.cs (1)
106
bestResult.
Metric
.Should().BeGreaterOrEqualTo(0.4);