Skip to content

[MRG] DOC plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset#16341

Merged
adrinjalali merged 8 commits intoscikit-learn:masterfrom
maikia:boston_exchange_eg_plot_partial
Feb 5, 2020
Merged

[MRG] DOC plot_partial_dependence_visualisation_api exchanged boston for diabetes dataset#16341
adrinjalali merged 8 commits intoscikit-learn:masterfrom
maikia:boston_exchange_eg_plot_partial

Conversation

@maikia
Copy link
Copy Markdown
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
Copy Markdown
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
# ============================================
#
# We plot partial dependence curves for features "LSTAT" and "RM" for
# We plot partial dependence curves for features "s1" and "s5" for
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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