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