Machine Learning: Naive Bayes Document Classification Algorithm in Javascript | Hacker News Reader