In the beginning of this homework, I work on some basic properties of Gaussian variables, including calculating the expectation and convolution of a mixture of `K` Gaussian variables. Later, I am asked to model a problem in terms of PGM and figure out its update. rules. Details of training stage and testing stage are also presented in the report.