Naive Bayes Commit