Simple example on how to use Naive Bayes on Spark using the popular Reuters 21578 dataset