Analysis of Bayesian Networks via Prob-Solvable Loops
Ezio Bartocci
Miroslav Stankovic
Laura Kovács
We show that various BNs, such as discrete, Gaussian, conditional linear Gaussian and dynamic BNs, can be naturally encoded as Prob-solvable loops. Thanks to these encodings, we can automatically solve several BN related problems, including exact inference, sensitivity analysis, filtering and computing the expected number of rejecting samples in sampling-based procedures.