Expectation-Maximization in Excel: Generate Two Gaussian Classes
Set up a two-class Gaussian example in Excel for the expectation-maximization lessons. The screen share chooses feature means for the red and blue groups, generates sample values, and makes the feature values depend on the assigned class.
Screen times follow the original lesson. Edited YouTube versions may run shorter.
Lay out each observation
Use one row per sample and reserve separate cells for the two feature coordinates and the latent class.

Choose class means
Put the two centers in a parameter block. A common coordinate scale makes their separation easier to interpret.

Generate samples
Generate noise around the center selected by the class indicator. Keep the true class for checking results after fitting.

Separate data from labels
Use the class only to generate the synthetic dataset. A mixture model is fitted to the coordinates without access to those labels.
