Question: Please code in MATLAB. . (200) in 14.7 Polynomial classifier with two features. Generate 200 random 2-vectors 2 (1), a plane, from a standard normal

Please code in MATLAB.
. (200) in 14.7 Polynomial classifier with two features. Generate 200 random 2-vectors 2 (1), a plane, from a standard normal distribution. Define 3( { +1 > 0 -1 otherwise for i = 1, ...,200. In other words, y) is +1 when r() is in the first or third quadrant, and 1 otherwise. Fit a polynomial least squares classifier of degree 2 to the data set, i.e., use a polynomial f(0) = 01 + 0271 +0322 +0421 +0521 22 +0622. Give the error rate of the classifier. Show the regions in the plane where f(1) = 1 and f(x) = -1. Also compare the computed coefficients with the polynomial f(x) which classifies the data points with zero error. = T122
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
