A PHP implementation of the Naive Bayes classifier