Implementation of Naive Bayes Classifier algorithm in PHP.