Expectation Maximisation
Expectation maximising is an algorithm which can be used on problems such as clustering problem. It is used in situations where you assume your data follows some underlying distribution
Suppose we draw
Once you are provided with
During the EM algorithm we will update our current hypothesis
Lets unpack this - we use our current hypotheses
- Given our current hypothesis
calculate the values for the unobserved parameters, this gives us the function , and then - Using the values of
and for - find a hypothesis
If the function
Correctness
- We are monotonically decreasing Maximum likelihood error of the groupings.
- Though this is not guaranteed to converge.
- Though it will not diverge either!
- It can get stuck in local optimums.
- So it is best that we restart this algorithm and take the best outcome.