Skip to content

Instantly share code, notes, and snippets.

Created Dec 3, 2019
What would you like to do?
MovieRecommender: Main code
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