19 Apr How is the Expectation-Maximization algorithm used in machine learning? Sourabh Mehta Developers Corner The expectation-maximization (EM) algorithm is an elegant algorithm that maximizes the likelihood function for problems with latent or hidden variables.