Question: what the Code for this Lab Activity (6 Marks) The file salaries.xlsx (uploaded) contains the dataset for our simple linear regression problem. The first column
Lab Activity (6 Marks) The file salaries.xlsx (uploaded) contains the dataset for our simple linear regression problem. The first column is the years of experience and the second column is the salary of the employee. Implement linear regression with one variable to predict the salary of the employee. l. Data visualization 2. Compute the parameters of the optimal Linear regression model w_opt, b_opt, SS_res, SS_total and R2 3. Evaluate the Model using LR _ Eval
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
