Question: Data set used in this homework: table [ [ X , Y , Class ] , [ 0 . 8 , 1 . 2
Data set used in this homework:
tableXYClass
Mahalanobis distance vs Euclidean distance.
a Manually calculate the mean and covariance of the two classes of training samples. You can use calculator for intermediate calculations. However, you need to show details.
b Based on the means and covariance matrix, plot the contour maps of the two multivariate Gaussian distribution for the two classes.
c Write the equations to calculate these two distances. Note: ONLY the equation.
d Explain intuitively in no more than three sentences the differences between the two distances.
e Use the following example to understand the differences these two distances make in classification. Here, the minimum distance classifier ie Case I is used.
i Plot the above data set on the same figure.
ii Given a test sample calculate the Euclidean distance to the two class means. Based on the distances, which class should belong
to
iii. Use the same test sample, calculate the Mahalanobis distance to the two classes. Based on this pair of distances, which class should x belong to
iv Plot the test sample x on the same figure as the data set. Just by observing the plot, which decision do you think makes more sense?
Using maximum likelihood method to derive the equation for mean and variance assuming the pdf or likelihood is modeled by D Gaussian.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
