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)
62Assert.NotNull(result.BestRun.Model); 89Assert.NotNull(result.BestRun.Model); 116Assert.NotNull(result.BestRun.Model); 320var scoredData = result.BestRun.Model.Transform(trainData); 351var scoredData = result.BestRun.Model.Transform(trainData); 402var scoredData = result.BestRun.Model.Transform(trainData); 460var outputSchema = bestRun.Model.GetOutputSchema(trainDataView.Schema); 544var outputSchema = bestRun.Model.GetOutputSchema(trainDataView.Schema); 549IDataView testDataViewWithBestScore = bestRun.Model.Transform(testDataView); 604.Model; 611.Model; 618.Model; 686IDataView predictions = experiment.BestRun.Model.Transform(trainData);
Utils\TaskAgnosticIterationResult.cs (2)
55Model = runDetail.Model; 66Model = runDetail.Model;