Siilats Robots
Expectation-maximization lessons

Expectation-Maximization in Excel: Part 8 (1/2)

Expectation-Maximization in Excel: Part 8 (1/2). Screen-share lesson by Keith Siilats from the Gaussian models and expectation-maximization series. The walkthrough discusses probability.

Watch the original lessonExpectation-maximization workbook

Screen times follow the original lesson. Edited YouTube versions may run shorter.

At 1:08 in the original

Use complementary class probabilities

For two components, the second responsibility equals one minus the first. Check the probabilities stay between zero and one.

Screen recording at 1:08
Screen at 1:08
At 3:02 in the original

Update component weights

The next value of alpha is the mean responsibility for that component. The weights of the two components sum to one.

Screen recording at 3:02
Screen at 3:02
At 5:09 in the original

Inspect the standard deviations

Wide components give different likelihoods from tight ones. Guard against divisions by zero and nearly collapsed components.

Screen recording at 5:09
Screen at 5:09