Question: Polynomial classifier with one feature. Generate 2 0 0 points x ( 1 ) , dots, x ( 2 0 0 ) , uniformly spaced
Polynomial classifier with one feature. Generate points dots, uniformly
spaced in the interval and take
for dots, Fit polynomial least squares classifiers of degrees dots, to this
training data set.
a Evaluate the error rate on the training data set. Does the error rate decrease when
you increase the degree?
b For each degree, plot the polynomial tilde and the classifier hatsign
c It is possible to classify this data set perfectly using a classifier hatsign
and a cubic polynomial
tilde
for any positive Compare this classifier with the least squares classifier of degree
that you found and explain why there is a difference.
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
