Naive bayes classifier working.