42 references to BestResultUtil
Microsoft.ML.AutoML (42)
API\BinaryClassificationExperiment.cs (11)
198var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 207var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToRunDetail(Context, e, _pipeline)); 208var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 231var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 240var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToRunDetail(Context, e, _pipeline)); 241var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 285var detail = BestResultUtil.ToCrossValidationRunDetail(Context, e, _pipeline); 295var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToCrossValidationRunDetail(Context, e, _pipeline)); 296var bestResult = BestResultUtil.ToCrossValidationRunDetail(Context, monitor.BestRun, _pipeline); 316return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 321return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing);
API\MulticlassClassificationExperiment.cs (11)
183var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 193var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToRunDetail(Context, e, _pipeline)); 194var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 218var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 228var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToRunDetail(Context, e, _pipeline)); 229var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 275var detail = BestResultUtil.ToCrossValidationRunDetail(Context, e, _pipeline); 285var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToCrossValidationRunDetail(Context, e, _pipeline)); 286var bestResult = BestResultUtil.ToCrossValidationRunDetail(Context, monitor.BestRun, _pipeline); 306return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 311return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing);
API\RankingExperiment.cs (4)
90return BestResultUtil.GetBestRun(results, metricsAgent, isMetricMaximizing); 104return BestResultUtil.GetBestRun(results, metricsAgent, isMetricMaximizing); 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 (13)
171var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 181var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToRunDetail(Context, e, _pipeline)); 182var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 212var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 222var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToRunDetail(Context, e, _pipeline)); 223var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 268var detail = BestResultUtil.ToCrossValidationRunDetail(Context, e, _pipeline); 278var runDetails = monitor.RunDetails.Select(e => BestResultUtil.ToCrossValidationRunDetail(Context, e, _pipeline)); 279var bestResult = BestResultUtil.ToCrossValidationRunDetail(Context, monitor.BestRun, _pipeline); 320return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 325return BestResultUtil.GetBestRun(results, MetricsAgent, OptimizingMetricInfo.IsMaximizing); 344return BestResultUtil.GetBestRun(results, metricsAgent, isMetricMaximizing); 357return BestResultUtil.GetBestRun(results, metricsAgent, isMetricMaximizing);
Experiment\Runners\CrossValSummaryRunner.cs (1)
76var bestFoldIndex = BestResultUtil.GetIndexOfBestScore(trainResults.Select(r => r.score), _optimizingMetricInfo.IsMaximizing);