lecture 16 bayesian networks iv 344887