Code repository for article (http://www.sitepoint.com/machine-learning-ruby-naive-bayes-theorem/)