Assignment 2 completed#2
Conversation
fyellow
left a comment
There was a problem hiding this comment.
You’re close, but a couple of things to fix:
Don’t rename your predictors to feature_0, feature_1, etc. keep the original column names so the coefficients are interpretable.
The sklearn warning is happening because you fitted with a DataFrame that has column names, but predicted with raw arrays. Keep the feature names consistent between training and testing.
|
Assignment 2 is complete, please note that you have assignment 3 in the same pull request |
DwardEE
left a comment
There was a problem hiding this comment.
Great work!
Everything seems correct. However, you did not answer the reflection question (“What method to determine optimal k?”).
Please give a short response and resubmit the completed assignment.
Hi new pull request #3 |
What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Python code to analyse data set
What did you learn from the changes you have made?
Regression concepts
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Practice personally
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
errors in codes, google
How were these changes tested?
run code and test with the assignment guide
A reference to a related issue in your repository (if applicable)
Checklist