Math.NET

We had a brief introduction to Math.Net in Chapter 1, Welcome to Machine Learning Using the .NET Framework. In this section, we will add it to our project and see how it can help us do a simple linear regression. In the solution explorer of your open project, add a new script file and name it MathDotNet.fsx.

Next, open the NuGet Package Manager Console (Tools | NuGet Package Manger | Package Manager Console):

Math.NET

In the console, enter the following line:

PM> install-package MathNet.Numerics

You will see that the package installs successfully:

Math.NET

Get Mastering .NET Machine Learning now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.