Learning on Bayesian Networks