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)
38IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 45mlContext.Model.Save(bestRun.Model, trainDataView.Schema, fs); 48var predictionEngine = mlContext.Model.CreatePredictionEngine<SentimentIssue, SentimentPrediction>(bestRun.Model);
AutoFit\MulticlassClassificationExperiment.cs (3)
39IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 46mlContext.Model.Save(bestRun.Model, trainDataView.Schema, fs); 49var predictionEngine = mlContext.Model.CreatePredictionEngine<PixelData, PixelPrediction>(bestRun.Model);
AutoFit\RankingExperiment.cs (3)
47IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 53mlContext.Model.Save(bestRun.Model, trainDataView.Schema, ModelPath); 56var predictionEngine = mlContext.Model.CreatePredictionEngine<SearchData, SearchDataPrediction>(bestRun.Model);
AutoFit\RecommendationExperiment.cs (3)
51IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 57mlContext.Model.Save(bestRun.Model, trainDataView.Schema, ModelPath); 60var predictionEngine = mlContext.Model.CreatePredictionEngine<Movie, MovieRatingPrediction>(bestRun.Model);
AutoFit\RegressionExperiment.cs (3)
39IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 46mlContext.Model.Save(bestRun.Model, trainDataView.Schema, fs); 49var predictionEngine = mlContext.Model.CreatePredictionEngine<TaxiTrip, TaxiTripFarePrediction>(bestRun.Model);
Microsoft.ML.AutoML.Tests (15)
AutoFitTests.cs (13)
63Assert.NotNull(result.BestRun.Model); 90Assert.NotNull(result.BestRun.Model); 117Assert.NotNull(result.BestRun.Model); 321var scoredData = result.BestRun.Model.Transform(trainData); 352var scoredData = result.BestRun.Model.Transform(trainData); 403var scoredData = result.BestRun.Model.Transform(trainData); 461var outputSchema = bestRun.Model.GetOutputSchema(trainDataView.Schema); 545var outputSchema = bestRun.Model.GetOutputSchema(trainDataView.Schema); 550IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 605.Model; 612.Model; 619.Model; 687IDataView predictions = experiment.BestRun.Model.Transform(trainData);
Utils\TaskAgnosticIterationResult.cs (2)
55Model = runDetail.Model; 66Model = runDetail.Model;