Bayesian Network model