Bayesian Network lab from AI course
Build a program that reads the structure and probability tables of a Bayes Network, and then query it. Querying a Bayes network means to compute the probability of the query variables being true, given certain evidence.