2 instantiations of RunDetail
Microsoft.ML.AutoML (2)
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineRunDetail.cs (1)
55return new RunDetail<TMetrics>(Pipeline.Trainer.TrainerName.ToString(), estimator,
Utils\BestResultUtil.cs (1)
105var detail = new RunDetail<TMetrics>(trainerName, result.Pipeline, null, modelContainer, result.Metrics, result.Exception);
92 references to RunDetail
Microsoft.ML.AutoML (79)
API\BinaryClassificationExperiment.cs (10)
164public override ExperimentResult<BinaryClassificationMetrics> Execute(IDataView trainData, ColumnInformation columnInformation, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<BinaryClassificationMetrics>> progressHandler = null) 198var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 208var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 214public override ExperimentResult<BinaryClassificationMetrics> Execute(IDataView trainData, IDataView validationData, ColumnInformation columnInformation, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<BinaryClassificationMetrics>> progressHandler = null) 231var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 241var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 247public override ExperimentResult<BinaryClassificationMetrics> Execute(IDataView trainData, IDataView validationData, string labelColumnName = "Label", IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<BinaryClassificationMetrics>> progressHandler = null) 257public override ExperimentResult<BinaryClassificationMetrics> Execute(IDataView trainData, string labelColumnName = "Label", string samplingKeyColumn = null, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<BinaryClassificationMetrics>> progressHandler = null) 314private protected override RunDetail<BinaryClassificationMetrics> GetBestRun(IEnumerable<RunDetail<BinaryClassificationMetrics>> results)
API\ColumnInference.cs (2)
33/// See <see cref="ExperimentBase{TMetrics, TExperimentSettings}.Execute(IDataView, ColumnInformation, IEstimator{ITransformer}, System.IProgress{RunDetail{TMetrics}})" />, for example.</para> 47/// See <see cref="ExperimentBase{TMetrics, TExperimentSettings}.Execute(IDataView, ColumnInformation, IEstimator{ITransformer}, System.IProgress{RunDetail{TMetrics}})" />, for example.</para>
API\ExperimentBase.cs (12)
68string samplingKeyColumn = null, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<TMetrics>> progressHandler = null) 110IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<TMetrics>> progressHandler = null) 159public virtual ExperimentResult<TMetrics> Execute(IDataView trainData, IDataView validationData, string labelColumnName = DefaultColumnNames.Label, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<TMetrics>> progressHandler = null) 189IProgress<RunDetail<TMetrics>> progressHandler = null) 270private protected abstract RunDetail<TMetrics> GetBestRun(IEnumerable<RunDetail<TMetrics>> results); 276IProgress<RunDetail<TMetrics>> progressHandler) 327IProgress<RunDetail<TMetrics>> progressHandler) 345IProgress<RunDetail<TMetrics>> progressHandler, 346IRunner<RunDetail<TMetrics>> runner) 349var experiment = new Experiment<RunDetail<TMetrics>, TMetrics>(Context, _task, OptimizingMetricInfo, progressHandler, 353var bestRun = GetBestRun(runDetails);
API\ExperimentResults\ExperimentResult.cs (5)
20/// See <see cref="RunDetail{TMetrics}"/> for more information. 22public readonly IEnumerable<RunDetail<TMetrics>> RunDetails; 31public readonly RunDetail<TMetrics> BestRun; 33internal ExperimentResult(IEnumerable<RunDetail<TMetrics>> runDetails, 34RunDetail<TMetrics> bestRun)
API\MulticlassClassificationExperiment.cs (10)
148public override ExperimentResult<MulticlassClassificationMetrics> Execute(IDataView trainData, ColumnInformation columnInformation, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<MulticlassClassificationMetrics>> progressHandler = null) 183var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 194var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 199public override ExperimentResult<MulticlassClassificationMetrics> Execute(IDataView trainData, IDataView validationData, ColumnInformation columnInformation, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<MulticlassClassificationMetrics>> progressHandler = null) 218var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 229var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 235public override ExperimentResult<MulticlassClassificationMetrics> Execute(IDataView trainData, IDataView validationData, string labelColumnName = "Label", IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<MulticlassClassificationMetrics>> progressHandler = null) 245public override ExperimentResult<MulticlassClassificationMetrics> Execute(IDataView trainData, string labelColumnName = "Label", string samplingKeyColumn = null, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<MulticlassClassificationMetrics>> progressHandler = null) 309private protected override RunDetail<MulticlassClassificationMetrics> GetBestRun(IEnumerable<RunDetail<MulticlassClassificationMetrics>> results)
API\RankingExperiment.cs (4)
86public static RunDetail<RankingMetrics> Best(this IEnumerable<RunDetail<RankingMetrics>> results, RankingMetric metric = RankingMetric.Ndcg, uint optimizationMetricTruncationLevel = 10) 134private protected override RunDetail<RankingMetrics> GetBestRun(IEnumerable<RunDetail<RankingMetrics>> results)
API\RecommendationExperiment.cs (2)
73private protected override RunDetail<RegressionMetrics> GetBestRun(IEnumerable<RunDetail<RegressionMetrics>> results)
API\RegressionExperiment.cs (12)
145public override ExperimentResult<RegressionMetrics> Execute(IDataView trainData, ColumnInformation columnInformation, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<RegressionMetrics>> progressHandler = null) 171var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 182var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 194public override ExperimentResult<RegressionMetrics> Execute(IDataView trainData, IDataView validationData, ColumnInformation columnInformation, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<RegressionMetrics>> progressHandler = null) 212var detail = BestResultUtil.ToRunDetail(Context, e, _pipeline); 223var bestRun = BestResultUtil.ToRunDetail(Context, monitor.BestRun, _pipeline); 229public override ExperimentResult<RegressionMetrics> Execute(IDataView trainData, IDataView validationData, string labelColumnName = "Label", IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<RegressionMetrics>> progressHandler = null) 239public override ExperimentResult<RegressionMetrics> Execute(IDataView trainData, string labelColumnName = "Label", string samplingKeyColumn = null, IEstimator<ITransformer> preFeaturizer = null, IProgress<RunDetail<RegressionMetrics>> progressHandler = null) 323private protected override RunDetail<RegressionMetrics> GetBestRun(IEnumerable<RunDetail<RegressionMetrics>> results) 340public static RunDetail<RegressionMetrics> Best(this IEnumerable<RunDetail<RegressionMetrics>> results, RegressionMetric metric = RegressionMetric.RSquared)
Experiment\Runners\CrossValSummaryRunner.cs (3)
14internal class CrossValSummaryRunner<TMetrics> : IRunner<RunDetail<TMetrics>> 53public (SuggestedPipelineRunDetail suggestedPipelineRunDetail, RunDetail<TMetrics> runDetail) 90var runDetail = suggestedPipelineRunDetail.ToIterationResult(_preFeaturizer);
Experiment\Runners\TrainValidateRunner.cs (3)
10internal class TrainValidateRunner<TMetrics> : IRunner<RunDetail<TMetrics>> 46public (SuggestedPipelineRunDetail suggestedPipelineRunDetail, RunDetail<TMetrics> runDetail) 58var runDetail = suggestedPipelineRunDetail.ToIterationResult(_preFeaturizer);
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineRunDetail.cs (1)
52public RunDetail<TMetrics> ToIterationResult(IEstimator<ITransformer> preFeaturizer)
Utils\BestResultUtil.cs (15)
13public static RunDetail<BinaryClassificationMetrics> GetBestRun(IEnumerable<RunDetail<BinaryClassificationMetrics>> results, 21public static RunDetail<RegressionMetrics> GetBestRun(IEnumerable<RunDetail<RegressionMetrics>> results, 29public static RunDetail<MulticlassClassificationMetrics> GetBestRun(IEnumerable<RunDetail<MulticlassClassificationMetrics>> results, 37public static RunDetail<RankingMetrics> GetBestRun(IEnumerable<RunDetail<RankingMetrics>> results, 46public static RunDetail<TMetrics> GetBestRun<TMetrics>(IEnumerable<RunDetail<TMetrics>> results, 72public static IEnumerable<(RunDetail<T>, int)> GetTopNRunResults<T>(IEnumerable<RunDetail<T>> results, 80IEnumerable<(RunDetail<T>, int)> orderedResults; 99public static RunDetail<TMetrics> ToRunDetail<TMetrics>(MLContext context, TrialResult<TMetrics> result, SweepablePipeline pipeline) 105var detail = new RunDetail<TMetrics>(trainerName, result.Pipeline, null, modelContainer, result.Metrics, result.Exception);
Microsoft.ML.AutoML.Samples (5)
AutoFit\BinaryClassificationExperiment.cs (1)
31RunDetail<BinaryClassificationMetrics> bestRun = experimentResult.BestRun;
AutoFit\MulticlassClassificationExperiment.cs (1)
32RunDetail<MulticlassClassificationMetrics> bestRun = experimentResult.BestRun;
AutoFit\RankingExperiment.cs (1)
40RunDetail<RankingMetrics> bestRun = experimentResult.BestRun;
AutoFit\RecommendationExperiment.cs (1)
44RunDetail<RegressionMetrics> bestRun = experimentResult.BestRun;
AutoFit\RegressionExperiment.cs (1)
32RunDetail<RegressionMetrics> bestRun = experimentResult.BestRun;
Microsoft.ML.AutoML.Tests (8)
AutoFitTests.cs (2)
453RunDetail<RankingMetrics> bestRun = experimentResults[i].BestRun; 540RunDetail<RegressionMetrics> bestRun = experimentResult.BestRun;
BestResultUtilTests.cs (2)
27var runResults = new List<RunDetail<RegressionMetrics>>() 43var runResults = new List<RunDetail<RegressionMetrics>>()
Utils\TaskAgnosticAutoFit.cs (2)
28internal interface IUniversalProgressHandler : IProgress<RunDetail<RegressionMetrics>>, IProgress<RunDetail<MulticlassClassificationMetrics>>
Utils\TaskAgnosticIterationResult.cs (2)
50public TaskAgnosticIterationResult(RunDetail<RegressionMetrics> runDetail, string primaryMetricName = "RSquared") 61public TaskAgnosticIterationResult(RunDetail<MulticlassClassificationMetrics> runDetail, string primaryMetricName = "MicroAccuracy")