Question: Perform Polynomial Regression Next, let's see what happens when we perform a polynomial transformation on our features. Exercise 5 : Utilizing Scikit - learn's PolynomialFeatures

Perform Polynomial Regression
Next, let's see what happens when we perform a polynomial transformation on our features.
Exercise 5:
Utilizing Scikit-learn's PolynomialFeatures class, create a 2nd-degree polynomial instance, and name this object poly. Include the parameter include_bias=False.
Using your instantiated class (poly), transform your X_train data and name this X_train_transformed.

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 Programming Questions!