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.

Develop a simple linear regression model (univariate model) using gradient descent method

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

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!