convert weka results into naive bayes model