Question: Here is a Machine learning quistion. Please use any program to solve it Please 19 Consider a two-dimensional class problem that involves two classes, 1
Here is a Machine learning quistion. Please use any program to solve it
Please
19 Consider a two-dimensional class problem that involves two classes, 1 and 2, which are modeled by Gaussian distributions with means 1=[0,0]T and 2=[2,2]T, respectively, and common covariance matrix =[10.250.251]. (i) Form and plot a data set X consisting of 500 points from 1 and another 500 points from 2 (ii) Assign each one of the points of X to either 1 or 2, according to the Bayes decision rule, and plot the points with different colors, depending on the class they are assigned to. Plot the corresponding classifier. (iii) Based on (ii), estimate the error probability. (iv) Let L=[00.00510] be a loss matrix. Assign each one of the points of X to either 1 or 2, according to the average risk minimization rule (Eq. (7.13)), and plot the points with different colors, depending on the class they are assigned to. (v) Based on (iv), estimate the average risk for the above loss matrix. (vi) Comment on the results obtained by (ii)-(iii) and (iv)-(v) scenarios
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
