Neural Bayesian Network Understudy