inference in bayesian networks introduction to machine learning 2385742