-
-
Notifications
You must be signed in to change notification settings - Fork 26k
[MRG] DOC plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset #16341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[MRG] DOC plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset #16341
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR @maikia !
############################################################################## | ||
# Plotting partial dependence for two features | ||
# ============================================ | ||
# | ||
# We plot partial dependence curves for features "LSTAT" and "RM" for | ||
# We plot partial dependence curves for features "s1" and "s5" for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would be nice to explain what these variables are. The list can be found in https://www.openml.org/d/37 however I'm not sure about the mapping with our feature names. Taking variables that are easy to understand would be ideal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, otherwise I'm happy with the changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There looks to be a mapping between our variables to more descriptive features: https://www4.stat.ncsu.edu/~boos/var.select/diabetes.html
…into boston_exchange_eg_plot_partial
…into boston_exchange_eg_plot_partial
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @maikia
…abetes dataset (scikit-learn#16341) * exchanged the boston for diabetes dataset loading * updated the feature names * exchanged remaining feature names * cleaning up * changed features used to age and bmi for easier understanding
…abetes dataset (scikit-learn#16341) * exchanged the boston for diabetes dataset loading * updated the feature names * exchanged remaining feature names * cleaning up * changed features used to age and bmi for easier understanding
Reference Issues/PRs
What does this implement/fix? Explain your changes.
Towards #16155
exchanges the boston dataset for the diabetes dataset in the given example
Any other comments?