Starting from:

$25

CSE472 - Assignment 2 - Expectation-Maximization Algorithm for Gaussian Mixture Mode - Solved

Let’s assume you have been hired by Bangladesh Navy as a data analyst for their newly acquired Ming-class submarines. They are planning to use these submarines to secure national maritime border. One of their potential targets is pirate ship. They use active acoustic sonar to find floating ships. By transmitting a sound pulse and receiving the echo on an array, the sonars can determine the direction of the echoes that return from objects hit by the sound. They can also measure the time it takes for echoes to return and calculate the distance to the object causing the echo. Unfortunately, if there are several ships nearby, the signals cause interference. Using periscope visuals, it is possible to determine the number of ships but exact location of each ship is difficult to locate. Without precise location, a torpedo hit is not guaranteed. The 2D plot of a sample sonar data is given in Figure 1. There are three ships in surface water, one inside each black circle. Each blue dot represents a single location measurement of one of the three ships. You have been instructed to build a system which takes the sonar data as well as the number of ships as input and provide the estimated location of each ship.

                    

Since you are a new recruit, you are not yet well versed in applying machine learning model to real world problem. So, you plan to consult Dr. Google who is an expert of virtually every field. He informs you that you should use Gaussian mixture model in the above mentioned case. One possible implementation for this model is an EM (expectation-maximization) algorithm. He is also generous enough to give you a pseudocode for this which is given below.

 

Let a vector    with dimension   can be generated from any one of the    Gaussian distribution where the probability of selection of Gaussian distribution    is    where    and the probability of generation of    from Gaussian distribution    is given as,

  

Got It : (1, m) matrix 

To learn a Gaussian mixture model using EM algorithm, we need to maximize the likelihood function with respect to the parameters (comprising the means and covariances of the components and the mixing coefficients). The steps are given below.

1. Initialize the means   , covariances   and mixing coefficients   , and evaluate the initial value of the log likelihood.

2. E step: Evaluate the conditional distribution of latent factors using the current parameter values

  

3. M step: Re-estimate the parameters using the conditional distribution of latent factors 

weighted mean

  

  

  

4. Evaluate the log likelihood and check for convergence of either the parameters or the log likelihood. If the convergence criterion is not satisfied return to step 2.

  

 

Now you are excited to get this detailed model and algorithm. However, since this is an issue of national security you want to make sure that the suggestion from Dr. Google is indeed correct. At the outset you want to answer the following questions in your report.

1.       Why should you use a Gaussian mixture model (GMM) in the above scenario?

2.       How will you model your data for GMM?

3.       What are the intuitive meaning of the update equations in M step?

4.       Derive the log-likelihood function in step 4.

5.       Implement the above pseudocode and estimate the location of enemy ships.
 

More products