Description
How to deploy a trained sentiment analysis machine learning model to a REST API using Microsoft ML.NET and ASP.NET Core, in just 15 mins.
Summary
- How to deploy a trained sentiment analysis machine learning model to a REST API using Microsoft ML.NET and ASP.NET Core, in just 15 mins.
- Note x is your single feature and is your data point, so the value of x will not be contained in the model artifacts.
- ML NuGet package and also the relevant package for your algorithm used.
- The “comment” is used to build an input for our sentiment analysis model, and the singleton instance of ConsumeModel, _consumeModel, is used for prediction.