Deep learning, bayesian inference, and causal inference