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

Edit your code

Open Pages/Index.cshtml in any text editor and add the following code above the first <div> tag in the file:

<h1>Hello, world!</h1>
<h2>The time on the server is @DateTime.Now</h2>

Refresh the browser to see the change:

When the page is refreshed, the new content you just added will appear at the top of the page.