Variational Inference: A Review for Statisticians