Naive Bayes (nbBag) bagging implementation