Python regression

Problem 1:
Based on the Python regression example code that I explained in the video, apply the polynomial feature and fit the diabetes data set. Plot your new model and compare it with the linear model that I explained by finding the mean squared errors.
Problem 2:
One of the data sets that can be found in SKlearn in python is boston. You can load it using load_boston. Follow the steps we followed for the diabetes data set to fit this dataset using linear regression.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *