Question: Load the dataset on Canvas (Files Homework Homework 3 Data) using pandas 2) Use Preprocessing on the data 3) Perform regression on this dataset (a)
Load the dataset on Canvas ("Files Homework Homework 3 Data") using pandas 2) Use Preprocessing on the data 3) Perform regression on this dataset (a) Use linear regression (b) Solve it with gradient descent (c) Solve it with closed form solution (d) Solve it again with just sklearn library (e) Print out the final total error (f) Print out the prediction of your function for every sample next to the true label (g) Compare them against the true. How good is your prediction? 4) Repeat the previous parts using Polynomial regression (2nd order) 1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
