Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 4 . ( 1 0 Marks ) Single layer perceptron with pure linear activation function can be used to fit a linear model to

Q4.(10 Marks)
Single layer perceptron with pure linear activation function can be used to fit a linear
model to a set of input-output pairs. Suppose that we are given the following pairs:
{(0.5,8.0),(1.5,6.0),(3,5),(4.0,2),(5.0,0.5)}
and a single linear neuron as shown in the following figure.
a). Find the solution of w and b using the standard linear least-squares (LLS) method.
Plot out the fitting result.
(3 Marks)
b). Suppose that initial weight is chosen randomly and learning rate is 0.02. Find the
solution of w and b using the least-mean-square (LMS) algorithm for 100 epochs. Plot
out the fitting result and the trajectories of the weights versus learning steps. Will the
weights converge?
(3 Marks)
c). Compare the results obtained by LLS and the LMS methods.
(2 Marks)
d) Repeat the simulation study in b) with different learning rates , and explain your
findings.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Management Systems Designing And Building Business Applications

Authors: Gerald V. Post

1st Edition

0072898933, 978-0072898934

More Books

Students also viewed these Databases questions