configure bayes