Bayesian network related machine learning models