Bayesian-Machine-Learning Deriving expectation maximization and variational inference algorithms from scratch.