Skip to content
mathias-brandewinder edited this page Aug 18, 2012 · 5 revisions

This project is based on the book "Machine Learning in Action" (Peter Harrington, Manning Publication). As a learning exercise while going through the book, I thought it would be fun to convert the code samples from Python to F#.

Chapter 2: K-Nearest-Neighbors classification

The module knn.fs contains the algorithm implementation.

Comments on my blog, part 1
Comments on my blog, part 2

Chapter 3: Decision Tree classification

The module DecisionTrees.fs contains the implementation, with an illustration in the script Chapter3.fsx.

Comments on my blog

Chapter 4: Naive Bayes classification

The module NaiveBayes.fs contains the implementation, with an illustration in the script Chapter4.fsx.
The project ReverendStack is a small Console Application, and uses Naive Bayes to classify questions submitted to StackOverflow and Programmers, based on their title only.

Comments on my blog