A straightforward Bayesian network. Rain influences whether or not the sprinkler is activated, and both rain and the sprinkler impact if the grass is moist. A Bayesian network, perception network, or directed acyclic graphical product is really a probabilistic graphical model that represents a set of random variables and their conditional indepen