Question: Q 4 . ( 1 0 Marks ) Single layer perceptron with pure linear activation function can be used to fit a linear model to
Q Marks
Single layer perceptron with pure linear activation function can be used to fit a linear
model to a set of inputoutput pairs. Suppose that we are given the following pairs:
and a single linear neuron as shown in the following figure.
a Find the solution of and using the standard linear leastsquares LLS method.
Plot out the fitting result.
Marks
b Suppose that initial weight is chosen randomly and learning rate is Find the
solution of and using the leastmeansquare LMS algorithm for epochs. Plot
out the fitting result and the trajectories of the weights versus learning steps. Will the
weights converge?
Marks
c Compare the results obtained by LLS and the LMS methods.
Marks
d Repeat the simulation study in b with different learning rates and explain your
findings.
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
