DEVintersection 2019
Nov 18th – 21st, MGM Grand, Las Vegas NV. Keynotes by Microsoft's Scott Guthrie, Eric Boyd, Julia Liuson, and Scott Hanselman.

ML.NET Tutorial - Get started in 10 minutes

Pick a scenario

To generate your model, you first need to select your machine learning scenario. Model Builder supports several scenarios:

Model Builder supports sentiment analysis, image classification, price prediction, and custom scenarios.

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