From 4fcb375e932cf930e67700d8922e6db11a00f8ac Mon Sep 17 00:00:00 2001 From: Joshua Sloan Date: Thu, 7 Aug 2025 10:54:20 -0600 Subject: [PATCH] Fix PositiveRecall optimization in AutoMLExperiment --- src/Microsoft.ML.AutoML/AutoMLExperiment/IMetricManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.ML.AutoML/AutoMLExperiment/IMetricManager.cs b/src/Microsoft.ML.AutoML/AutoMLExperiment/IMetricManager.cs index 39e0b96073..135c093735 100644 --- a/src/Microsoft.ML.AutoML/AutoMLExperiment/IMetricManager.cs +++ b/src/Microsoft.ML.AutoML/AutoMLExperiment/IMetricManager.cs @@ -63,7 +63,7 @@ public double Evaluate(MLContext context, IDataView eval) BinaryClassificationMetric.PositivePrecision => metric.PositivePrecision, BinaryClassificationMetric.NegativePrecision => metric.NegativePrecision, BinaryClassificationMetric.NegativeRecall => metric.NegativeRecall, - BinaryClassificationMetric.PositiveRecall => metric.PositivePrecision, + BinaryClassificationMetric.PositiveRecall => metric.PositiveRecall, BinaryClassificationMetric.F1Score => metric.F1Score, _ => throw new NotImplementedException(), };