Expectation-maximization algorithm (source code)

= Expectation-maximization algorithm
{wiki}

The expectation-maximization algorithm alternates an E-step, which takes the conditional expectation of a complete-data log objective over latent variables, and an M-step, which maximizes that expected objective over the parameters.