31 references to Model
Microsoft.ML.AutoML (1)
API\RunDetails\RunDetail.cs (1)
46
/// (like <see cref="
Model
"/>) could be <see langword="null"/>.
Microsoft.ML.AutoML.Samples (15)
AutoFit\BinaryClassificationExperiment.cs (3)
38
IDataView testDataViewWithBestScore = bestRun.
Model
.Transform(testDataView);
45
mlContext.Model.Save(bestRun.
Model
, trainDataView.Schema, fs);
48
var predictionEngine = mlContext.Model.CreatePredictionEngine<SentimentIssue, SentimentPrediction>(bestRun.
Model
);
AutoFit\MulticlassClassificationExperiment.cs (3)
39
IDataView testDataViewWithBestScore = bestRun.
Model
.Transform(testDataView);
46
mlContext.Model.Save(bestRun.
Model
, trainDataView.Schema, fs);
49
var predictionEngine = mlContext.Model.CreatePredictionEngine<PixelData, PixelPrediction>(bestRun.
Model
);
AutoFit\RankingExperiment.cs (3)
47
IDataView testDataViewWithBestScore = bestRun.
Model
.Transform(testDataView);
53
mlContext.Model.Save(bestRun.
Model
, trainDataView.Schema, ModelPath);
56
var predictionEngine = mlContext.Model.CreatePredictionEngine<SearchData, SearchDataPrediction>(bestRun.
Model
);
AutoFit\RecommendationExperiment.cs (3)
51
IDataView testDataViewWithBestScore = bestRun.
Model
.Transform(testDataView);
57
mlContext.Model.Save(bestRun.
Model
, trainDataView.Schema, ModelPath);
60
var predictionEngine = mlContext.Model.CreatePredictionEngine<Movie, MovieRatingPrediction>(bestRun.
Model
);
AutoFit\RegressionExperiment.cs (3)
39
IDataView testDataViewWithBestScore = bestRun.
Model
.Transform(testDataView);
46
mlContext.Model.Save(bestRun.
Model
, trainDataView.Schema, fs);
49
var predictionEngine = mlContext.Model.CreatePredictionEngine<TaxiTrip, TaxiTripFarePrediction>(bestRun.
Model
);
Microsoft.ML.AutoML.Tests (15)
AutoFitTests.cs (13)
63
Assert.NotNull(result.BestRun.
Model
);
90
Assert.NotNull(result.BestRun.
Model
);
117
Assert.NotNull(result.BestRun.
Model
);
321
var scoredData = result.BestRun.
Model
.Transform(trainData);
352
var scoredData = result.BestRun.
Model
.Transform(trainData);
403
var scoredData = result.BestRun.
Model
.Transform(trainData);
461
var outputSchema = bestRun.
Model
.GetOutputSchema(trainDataView.Schema);
545
var outputSchema = bestRun.
Model
.GetOutputSchema(trainDataView.Schema);
550
IDataView testDataViewWithBestScore = bestRun.
Model
.Transform(testDataView);
605
.
Model
;
612
.
Model
;
619
.
Model
;
687
IDataView predictions = experiment.BestRun.
Model
.Transform(trainData);
Utils\TaskAgnosticIterationResult.cs (2)
55
Model = runDetail.
Model
;
66
Model = runDetail.
Model
;