Question: Consider the following table that describes a relationship between two input variables ( X 1 , X 2 ) and an output variable ( y

Consider the following table that describes a relationship between two input variables (X1,X2) and an output variable (y). X1 X2 y .1227.2990+0.1825.3914.6392+0.8882.7725.0826-1.9521.8342.0823-1.9328.5084.8025+1.2246.9983.7404-0.0631(This is a part of the larger data set file included with this assignment.) Using your favorite language, find the least squares solution to y = W1* X1+ W2* X2+ b. o Report the values of W1, W2, and b. o Discuss the function or method you used to find the least-squares solution. Using the LMS algorithm, write a program that determines the coefficients {W1, W2, b} via incremental updating, steepest descent, and multiple passes through the training data. You will need to experiment with updating rules (online, batch, minibatch), step sizes (i.e., learning rates), stopping criteria, etc. Experiment to find settings that lead to solutions with the fewest number of sweeps through the data. o Report the values of W1, W2, and b. o Discuss what settings worked well for you: online vs. batch vs. minibatch? What step size? How did you decide to terminate?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!