Building an ML.NET-based service to predict the shopping score
In this section, we will provide a quick introduction to the ML.NET API. After that, we'll perform an exercise in which we'll build a machine learning service that will predict the spending score of a shopping mall customer based on the customer's gender, age, and annual income. The score has been standardized from 1 to 100. The higher the score indicates the higher the spending potential of the customer. Let's see how ML.NET can help us build this service.
Introduction to ML.NET
ML.NET is a free cross-platform .NET Standard library provided by Microsoft so that developers can easily build machine learning-based solutions. It provides APIs for all the usual ML features, such as data acquisition, cleansing, model training, evaluation, and deployment. All major problem types are covered with plenty of well-known machine learning algorithms provided as a built-in feature.
The library is extensible...