Question: Consider a training set of data points and labels { ( x ( n ) , y ( n ) ) } n - 1
Consider a training set of data points and labels where xinR and
yin :
Now consider a linear classifier which consists of a linear model and a
threshold function that outputs a class prediction hat :
hat
To learn the parameters of the linear model we can minimise the mean squared
error loss MSE across our training data:
a Plot the training data. Annotate this plot with the classifier's decision boundary
for initial parameters and
b Determine which side of the decision boundary is allocated to which class, thence
classify a test point at
c Derive an expression for and and explain how these may be used
in gradient descent to update the classifier's parameters.
d Perform a single iteration of gradient descent using your expressions from c to
compute and Use a learning rate
c Determine where the decision boundary is after this update, and reclassify the
test point at
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
