You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have seen a bug in the section Cross Validation: For Selecting Polynomial Model Degree of Lecture_6_Notebook.ipynb. The degree d is incorrectly used in the PolynomialFeatures constructor. This has a value of 19 which is the last index of the previous loop. The intention is to use the degree with the best cross-validation score so the code should read:
I have seen a bug in the section
Cross Validation: For Selecting Polynomial Model Degree
of Lecture_6_Notebook.ipynb. The degreed
is incorrectly used in thePolynomialFeatures
constructor. This has a value of 19 which is the last index of the previous loop. The intention is to use the degree with the best cross-validation score so the code should read:PS: Likewise, I have not submitted a pull request for this as you may not want the output produced from my notebook.
The text was updated successfully, but these errors were encountered: