Machine Learning Projects
for .NET Developers

A practical and fun introduction to writing simple machine learning programs, using real-world data.

Buy it now!  Code on GitHub  Forum

Machine Learning Projects for .NET Developers shows you how to build smarter .NET applications that learn from data, using simple algorithms and techniques that can be applied to a wide range of real-world problems. You will code each project in the familiar setting of Visual Studio, while the machine learning logic uses F#, a language ideally suited to machine learning applications in .NET. If you are new to F#, this book will give you everything you need to get started. If you are already familiar with F#, this is your chance to put the language into action in an exciting new context.


Want to take a look at the code?  Check it out on GitHub!

256 Shades of Gray
Using Distances to Detect Similarity between Images

Browse the code »

Spam or Ham
Automatically detect Spam in text using Bayes Theorem

Browse the code »

The Joy of Type Providers
Finding and preparing data, from anywhere

Browse the code »

Of bikes and men
Fitting a curve to data with gradient descent

Browse the code »

You are not a unique snowflake
Detecting patterns with clustering and principal components analysis

Browse the code »

Trees and Forests
Transforming data into informative decision trees

Browse the code »

A strange game
Learning from experience with reinforcement learning

Browse the code »

Digits, revisited: practical tips
Optimizing and scaling your algorithm code

Browse the code »

News & Announcements

ML Conf, New York City, Apr 15th, 2016: I'll talk MBrace and big data processing, register here!

San Francisco, Feb 9th, 2016: Eugene Chuvyrov and I will discuss Spark and MBrace: register here!

BuildStuff / Vilnius (Lithuania), Nov 18 - 22, 2015: I will be speaking, and running a two-days hands-on workshop on ML and F# at BuildStuff 2015.

DevDay / Krakow (Poland), Sep 16th, 2015: I will be running a one-day hands-on workshop on ML and F# at DevDay 2015. Hope to see you there!

Mountain View, Aug 19th, 2015: I'll be speaking at Hackers & Founders on F# and Machine Learning, register here!

What people are saying

I recommend this book primarily for an intermediate audience, however I will be using it in my introduction to programming classes as well, as I believe with some guidance, this book will spark far more programming discussion and thought than the simpler topics. The book is complete with functioning code and downloadable data sets; a perfect educational tool.

About the author

Mathias Brandewinder

Hello there! I am Mathias Brandewinder, I live in San Francisco, California, where I write code, primarily in .NET. I have been doing that for the past 10 years or so, initially in C#, now mostly in F#, a language I fell in love with around 2010. My other area of interest is math and probability; my background is in Operations Research and Economics, and I enjoy building models to help others make better decisions, using data and math. And if you want to know more, just ping me on Twitter!

  Follow @brandewinder on Twitter!