init naivebayes