generalized-naive-bayes