Question: Data set used in this homework: table [ [ X , Y , Class ] , [ 0 . 8 , 1 . 2

Data set used in this homework:
\table[[X,Y,Class],[0.8,1.2,1],[0.9,1.4,1],[1.2,1.4,1],[1.1,1.5,1],[0.8,1.1,2],[0.6,1,2],[0.65,1.1,2],[0.75,0.9,2]]
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 multi-variate 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 (i.e., Case I) is used.
i. Plot the above data set on the same figure.
ii. Given a test sample x=[0.851.15]T, calculate the Euclidean distance to the two class means. Based on the distances, which class should x 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 1-D Gaussian.
Data set used in this homework: \ table [ [ X , Y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!