Naive Bayes classification in F#

added by brandewinder
8/19/2012 6:04:57 AM

5 Kicks, 763 Views

Naive Bayes classification is a popular machine learning algorithm used to analyze text and decide which category it belongs to. This post presents an F# implementation of the algorithm, with a sample application demonstrating classification of questions submitted to StackOverflow and Programmers, based on their title only.


2 comments

dpeterson
8/20/2012 9:39:49 AM
The succinctness you can achieve, while still maintaining readability in F# continues to amaze me. I really should consider using it more.

brandewinder
8/20/2012 11:05:31 AM
You should ;) Coming from C#, becoming similarly productive took me a bit of time, but now that I am over the hump, the more I use it, the more I enjoy it.