.NET Conf 2019
.NET Core 3.0 launches at .NET Conf 2019 September 23-25, a free, virtual developer event.

ML.NET Tutorial - Get started in 10 minutes

Pick a scenario

To generate your model, you need to select your machine learning scenario. Model Builder offers several templates:


In this case, you will predict sentiment based on the content (text) of customer reviews.

In the Model Builder Scenario screen, select the Sentiment Analysis scenario, which is a binary classification ML task.

To generate your model, you need to select your machine learning scenario and its corresponding ML task.

There are several ML tasks that are supported by the ML.NET CLI:

  • Binary classification - Use this when you want to analyze text and predict if it belongs in either category A or category B (e.g. analyzing sentiment of customer reviews as either positive or negative)
  • Multiclass classification - Use this when you want to analyze text and classify into multiple categories (e.g. labeling new GitHub issues).
  • Regression - Use this when you want to predict a numeric value (e.g. predicting house price). This task is called regression.

In this case, you will predict sentiment based on the content (text) of customer reviews, so you will use the binary classification ML task.

Continue