The time has come to start creating your first ML.NET application. For this first application, we will create a .NET Core console application. This application will classify a sentence of words as either a positive statement or a negative statement, training on a small sample dataset provided. For this project, we will use a binary logistic regression classification model using the Stochastic Dual Coordinate Ascent (SDCA) method. In Chapter 3, Regression Model, we will go into greater depth on this method.
Creating the project in Visual Studio
Upon opening, and depending on your configuration in Visual Studio, it will either open directly on to the project creation screen, or will be an empty Visual Studio window. If your environment displays the latter, simply click File, then New, and then Project:
- When the window opens, type console app in the search field to find Console App (.NET Core). Make sure that the language type is C# (there are Visual...