1 write to BestRun
Microsoft.ML.AutoML (1)
API\ExperimentResults\ExperimentResult.cs (1)
37
BestRun
= bestRun;
40 references to BestRun
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 (35)
AutoFitTests.cs (35)
61
Assert.True(result.
BestRun
.ValidationMetrics.Accuracy > 0.70);
62
Assert.NotNull(result.
BestRun
.Estimator);
63
Assert.NotNull(result.
BestRun
.Model);
64
Assert.NotNull(result.
BestRun
.TrainerName);
88
result.
BestRun
.ValidationMetrics.Accuracy.Should().BeGreaterOrEqualTo(0.7);
89
Assert.NotNull(result.
BestRun
.Estimator);
90
Assert.NotNull(result.
BestRun
.Model);
91
Assert.NotNull(result.
BestRun
.TrainerName);
115
Assert.True(result.
BestRun
.ValidationMetrics.Accuracy > 0.70);
116
Assert.NotNull(result.
BestRun
.Estimator);
117
Assert.NotNull(result.
BestRun
.Model);
118
Assert.NotNull(result.
BestRun
.TrainerName);
175
Assert.True(result.
BestRun
.ValidationMetrics.RSquared > 0.70);
176
Assert.NotNull(result.
BestRun
.Estimator);
177
Assert.NotNull(result.
BestRun
.TrainerName);
236
Assert.True(result.
BestRun
.ValidationMetrics.RSquared > 0.70);
237
Assert.NotNull(result.
BestRun
.Estimator);
238
Assert.NotNull(result.
BestRun
.TrainerName);
245
Assert.True(result.
BestRun
.ValidationMetrics.RSquared > 0.70);
246
Assert.NotNull(result.
BestRun
.Estimator);
247
Assert.NotNull(result.
BestRun
.TrainerName);
250
var model = result.
BestRun
.Estimator.Fit(context.Data.TakeRows(dataset, 1000));
320
Assert.True(result.
BestRun
.ValidationMetrics.MicroAccuracy >= 0.7);
321
var scoredData = result.
BestRun
.Model.Transform(trainData);
324
var model = result.
BestRun
.Estimator.Fit(trainData);
350
result.
BestRun
.ValidationMetrics.MicroAccuracy.Should().BeGreaterThan(0.1);
352
var scoredData = result.
BestRun
.Model.Transform(trainData);
402
Assert.InRange(result.
BestRun
.ValidationMetrics.MicroAccuracy, 0.1, 0.9);
403
var scoredData = result.
BestRun
.Model.Transform(trainData);
453
RunDetail<RankingMetrics> bestRun = experimentResults[i].
BestRun
;
540
RunDetail<RegressionMetrics> bestRun = experimentResult.
BestRun
;
604
.
BestRun
611
.
BestRun
618
.
BestRun
687
IDataView predictions = experiment.
BestRun
.Model.Transform(trainData);