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 :
Utilizing Scikitlearn's PolynomialFeatures class, create a nddegree polynomial instance, and name this object poly. Include the parameter includebiasFalse.
Using your instantiated class poly transform your Xtrain data and name this Xtraintransformed.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
