Have you tried ML.NET?
It's a new machine learning framework made specifically for .NET developers.

ASP.NET Tutorial - Hello World in 10 minutes

Create your app

Open a new command prompt and run the following commands:

dotnet new webApp -o myWebApp
cd myWebApp

The dotnet command creates a new application of type webApp for you. The -o parameter creates a directory named myWebApp where your app is stored, and populates it with the required files. The cd myWebApp command puts you into the newly created app directory.

Several files were created in the myWebApp directory, to give you a simple web application that is ready to run. Startup.cs contains all the settings and configurations. The myWebApp/Pages directory contains some web pages for the application.