Bayes classifier

classification algorithm