naive bayes tuning