What Makes An Algorithm Bayesian Network