| Mean | Variance | Proportion |
|---|---|---|
| 0 | 1 | 0.2 |
| 1 | 1 | 0.3 |
| 5 | 2 | 0.5 |
Write code to estimate the parameters of the above Gaussian mixture model from the data points. Use at least two different seed values and check how closely your estimated parameters match the true parameters.
| Mean | | Proportion |
|---|---|---|
| (0, 0) | 1 | 0.2 |
| (1, 1) | 1 | 0.3 |
| (5, 5) | 2 | 0.5 |
The variance of the data is . Write code to estimate the parameters of the above Gaussian mixture model from the data points. Use at least two different seed values and check how closely your estimated parameters match the true parameters. Hint: Look up numpy.random.multivariate_normal.