Created
December 3, 2019 15:02
-
-
Save icebeam7/3fe172620882d3808e3c066ba3849078 to your computer and use it in GitHub Desktop.
MovieRecommender: Main code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void Main(string[] args) | |
{ | |
var mlContext = new MLContext(); | |
(IDataView trainingDataView, IDataView testDataView) = LoadData(mlContext); | |
ITransformer model = BuildTrainModel(mlContext, trainingDataView); | |
EvaluateModel(mlContext, testDataView, model); | |
UseModelForSinglePrediction(mlContext, model); | |
SaveModel(mlContext, trainingDataView.Schema, model); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment