Predict Heart Disease With F# And ML.NET Machine Learning

Mark Farragher
7 min readJul 22, 2020

In this article, I am going to build an F# app with ML.NET and NET Core that reads medical data and predicts if a patient has a risk of heart disease. I will show you how to do this with only 120 lines of code.

ML.NET is Microsoft’s new machine learning library. It can run linear regression, logistic classification, clustering, deep learning, and many other machine learning algorithms.

NET Core is the Microsoft multi-platform NET Framework that runs on Windows, OS/X, and Linux. It’s the future of…