Question: Develop a simple linear regression model (univariate model) using gradient descent method for experience-salary datasets as it is shown on the following table. Once you
Develop a simple linear regression model (univariate model) using gradient descent method for experience-salary datasets as it is shown on the following table. Once you got the model, check how close the predicted values against the ground truth and calculate the total error (mean square error) and the accuracy R2.

No 1 2 3 4 5 6 6 7 8 9 10 11 12 13 14 Experience 0.5 0.0 1.0 5.0 8.0 4.0 15.0 7.0 3.0 2.0 12.0 10.0 14.0 6.0 Salary ($) 2500 2250 2750 8000 9000 6900 20000 8500 6000 3500 15000 13000 18000 7500 Predicted
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
