Skip to content

[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

Merged

Conversation

maikia
Copy link
Contributor

@maikia maikia commented Jan 31, 2020

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?

@maikia maikia requested review from adrinjalali and rth January 31, 2020 14:37
@maikia maikia changed the title exchanged boston for diabetes dataset in plot_partial_dependence_visualisation_api in plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset Jan 31, 2020
Copy link
Member

@thomasjpfan thomasjpfan left a 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 !

@thomasjpfan thomasjpfan changed the title in plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset [MRG] DOC plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset Feb 1, 2020
##############################################################################
# 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
Copy link
Member

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.

Copy link
Member

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.

Copy link
Member

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

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @maikia

@adrinjalali adrinjalali merged commit 76de883 into scikit-learn:master Feb 5, 2020
@maikia maikia deleted the boston_exchange_eg_plot_partial branch February 17, 2020 11:48
thomasjpfan pushed a commit to thomasjpfan/scikit-learn that referenced this pull request Feb 22, 2020
…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
panpiort8 pushed a commit to panpiort8/scikit-learn that referenced this pull request Mar 3, 2020
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants