finally figured the naive bayes, it is really really really nice