Linear Regression Homework Assume we start with all weights as (don't forget the bias) What are the new weights after one iteration through the following training set using the delta rule with a learning rate of 2 How does it then generalize for the novel input (1, .5)2 X2 Target 3 1.6 9 1.3 CS 472 - Homework
Added by Ronald F.
Close
Step 1
We are given the initial weights as 0 (including the bias). So, let's denote them as $w_0 = 0$, $w_1 = 0$, and $w_2 = 0$. Show more…
Show all steps
Your feedback will help us improve your experience
Marc Lauzon and 100 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Two variables are defined, a regression equation is given, and one data point is given. Weight = maximum weight capable of bench pressing (pounds) Training = number of hours spent lifting weights a week Weight = 91 + 11.6(Training) The data point is an individual who trains 5 hours a week and can bench 150 pounds. (a) Find the predicted value for the data point and compute the residual. Enter the exact answers. Predicted value = Residual = (b) Interpret the slope in context. Given a 1 pound increase in Weight, expected change in Training is 11.6 hours. Given a 1 hour increase in Training, expected change in Weight is 11.6.
Qudsiya A.
Two variables are defined, a regression equation is given, and one data point is given: Weight = maximum weight capable of bench pressing (pounds) Training = number of hours spent lifting weights a week Weight = 97 + 11.5(Training) The data point is an individual who trains 5 hours a week and can bench 150 pounds. (a) Find the predicted value for the data point and compute the residual. Enter the exact answers. Predicted value = lbs Residual = lbs (b) Interpret the slope in context. Given an 11.5 hours increase in Training, expected change in Weight is 1 pound. Given a 1 pound increase in Weight, expected change in Training is 11.5 hours. Given a 1 hour increase in Training, expected change in Weight is 11.5. (c) Does the intercept make sense in this context? Yes No
Ariana N.
Assume a linear model y = w0 + w1x and we use linear regression to train this model. The cost function is MSE = 1/m ∑(i=1 to m) (wT ∙ x(i) − y(i))^2 (the gradient function is ∂MSE/∂wi = 2/m ∑(i=1 to m) (wT ∙ x(i) − y(i))x(i) ). Consider stochastic mode of linear regression and initial values w0 = 3, w1 = 3, and the learning rate ̑ = 0.01. What are w0 and w1 respectively after training with the following two examples in the given order ? (1, 3.05) (4, 8.80) w0=1.8792, w1=2.1432 w0=2.6251, w1=2.4723 w0=2.9092, w1=2.7284 w0=2.8229, w1=2.4686
Ummatul C.
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD