Question for the instructor
My "ML0101ENRegPolynomialRegressionCo2pyv1" exercise equation is:
yy = clf3.intercept[0]+ clf3.coef[0][1]XX+ clf3.coef_[0][2]np.power(XX, 2)+ clf3.coef_[0][3]*np.power(XX, 3)
The instructor's is:
yy = clf3.intercept[0]+ clf3.coef[0][1]XX + clf3.coef_[0][2]np.power(XX, 2) + clf3.coef_[0][2]*np.power(XX, 3)
Note especially "clf3.coef_[0][2]*np.power(XX, 3)" is this correct?
1 comment

Tom, the correct one is "clf3.coef_[0][2]*np.power(XX, 3)". I just fixed it