How expectation-maximization alternates two steps

Short answer: Expectation-maximization fits a probabilistic model with latent variables by alternating two steps. The E-step computes the posterior of the latent variables given the current parameters. The M-step maximizes the expected complete-data log-likelihood under that posterior, which for many models is a weighted closed-form update. Each full iteration…