retrain bayes