Overview
Expectation-Maximization estimates hidden variables under the current parameters, then maximizes parameters using those expectations.
Fits latent-variable models by alternating expected assignments and parameter updates.
Compact metadata for implementation and discovery.
Expectation-Maximization estimates hidden variables under the current parameters, then maximizes parameters using those expectations.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n k)
Average
O(iterations * n k)
Worst
O(iterations * n k)
Space
O(n k)
Q(theta | theta_old) = E_z[log p(x, z | theta)]Optimizes expected complete-data log likelihood.
Plot candidate points, objective values, and improvement steps across iterations.
Expectation-Maximization should be used with the assumptions and tradeoffs of latent Variable Optimization in mind.
What each reference supports for this entry.
Original expectation-maximization paper for maximum-likelihood estimation with incomplete data.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Gaussian mixture models often use EM to estimate latent assignments and parameters.
Hidden Markov Models commonly use EM-style training through Baum-Welch.