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