Assume we have two spherical Gaussians. For the first Gaussian, the mean is (1, 1), and standard deviation is 1
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

Assume we have two spherical Gaussians. For the first Gaussian, the mean is (1, 1), and standard deviation is 1

Task: Mixture of Gaussians & EM

1. Assume we have two spherical Gaussians. For the first Gaussian, the mean is (1, 1), and standard deviation is 1. For the second Gaussian, the mean is (0, 4), and standard deviation is 2. Please generate 100 2-D points for the first Gaussian, and 50 points for the second Gaussian, and plot them in one figure.


2. Now, given the 150 points, implement the K-means algorithm discussed in class and partition the 150 points into 2 clusters. Compute the cluster centers and the standard deviation of each cluster. Discuss how you initialize the model and when to terminate the iterations.


3. Now, instead of using the K-means algorithm, let us use the soft EM algorithm. You could use the cluster centers and deviations calculated by K-means as initialization for the two Gaussians in EM. Compute the parameters for the two Gaussians. Discuss how you initialize the model and when to terminate.

Hint
Gaussian is the probability distribution that helps to represent the random variables having real value and whose distribution are not known. It is another name for normal distribution.K means algorithm aim at assigning cluster to the n observations and the cluster with the nearest meanEM algorithm is the mathematical procedure that uses an initial guess to generate a sequence of solutions to the ...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.