Creating and Comparing Bayesian Networks