4 writes to IsMaximizing
Microsoft.ML.AutoML (4)
Experiment\OptimizingMetricInfo.cs (4)
31IsMaximizing = !_minimizingRegressionMetrics.Contains(regressionMetric); 36IsMaximizing = !_minimizingBinaryMetrics.Contains(binaryMetric); 41IsMaximizing = !_minimizingMulticlassMetrics.Contains(multiMetric); 46IsMaximizing = true;
20 references to IsMaximizing
Microsoft.ML.AutoML (20)
API\BinaryClassificationExperiment.cs (2)
316return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 321return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing);
API\MulticlassClassificationExperiment.cs (2)
306return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 311return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing);
API\RankingExperiment.cs (4)
89var isMetricMaximizing = new OptimizingMetricInfo(metric).IsMaximizing; 103var isMetricMaximizing = new OptimizingMetricInfo(metric).IsMaximizing; 131return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 136return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing);
API\RecommendationExperiment.cs (2)
70return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 75return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing);
API\RegressionExperiment.cs (4)
320return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 325return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 343var isMetricMaximizing = new OptimizingMetricInfo(metric).IsMaximizing; 356var isMetricMaximizing = new OptimizingMetricInfo(metric).IsMaximizing;
Experiment\Experiment.cs (1)
161_optimizingMetricInfo.IsMaximizing, _experimentSettings.CacheBeforeTrainer, _logger, _trainerAllowList);
Experiment\Runners\CrossValSummaryRunner.cs (1)
76var bestFoldIndex = BestResultUtil.GetIndexOfBestScore(trainResults.Select(r => r.score), _optimizingMetricInfo.IsMaximizing);
Utils\BestResultUtil.cs (4)
18return GetBestRun(results, metricsAgent, metricInfo.IsMaximizing); 26return GetBestRun(results, metricsAgent, metricInfo.IsMaximizing); 34return GetBestRun(results, metricsAgent, metricInfo.IsMaximizing); 43return GetBestRun(results, metricsAgent, metricInfo.IsMaximizing);