Skip to content

Conversation

madhuracj
Copy link
Contributor

@madhuracj madhuracj commented Mar 3, 2020

This PR adds support for Individual Conditional Expectation (ICE) plots.

Reference Issues/PRs

Fixes #14126
Closes #16164

What does this implement/fix? Explain your changes.

After the discussion in #16164, it was decided to implement support for ICE plots with a parameter names individual. Since the decided method is much different from what's implemented in #16164, I am starting afresh.

Any other comments?

@NicolasHug
Copy link
Member

cool, please ping me when ready @madhuracj

@madhuracj madhuracj changed the title [WIP] Add support for Individual Conditional Expectation (ICE) plots [MRG] Add support for Individual Conditional Expectation (ICE) plots Mar 7, 2020
@madhuracj
Copy link
Contributor Author

@NicolasHug @glemaitre @jnothman I think this PR is ready to be reviewed.
However, I am not sure what is causing an ImportError during unit tests on some platforms.

@glemaitre
Copy link
Member

You are probably missing a check_matplotlib somewhere. I will give a look soonish.

@madhuracj
Copy link
Contributor Author

Looks like the exception is thrown within check_matplotlib when it tries to import matplotlib.

@glemaitre glemaitre self-requested a review March 11, 2020 09:04
Copy link
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

A first pass with 2 questions regarding the API.
It looks good. I will have a thorough review this afternoon including the tests.

madhuracj and others added 6 commits June 11, 2020 08:05
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
Co-authored-by: Chiara Marmo <cmarmo@users.noreply.github.com>
@madhuracj madhuracj requested review from glemaitre and cmarmo June 11, 2020 02:44
Copy link
Contributor

@cmarmo cmarmo left a comment

Choose a reason for hiding this comment

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

@madhuracj sphinx is finally happy I am too.. :)
@scikit-learn/core-devs, time to merge? Thanks!

@agramfort
Copy link
Member

@glemaitre glemaitre merged commit 45a6ef7 into scikit-learn:master Jun 15, 2020
@glemaitre
Copy link
Member

OK let's go then. @madhuracj Thank you for the patience but it was worth.

@ogrisel in case you have some pending remarks that we did not catch during our reviews, feel free to open an issue and I will address it. It just needs to be 0.24 now :)

@glemaitre glemaitre removed their assignment Jun 15, 2020
@madhuracj
Copy link
Contributor Author

Thanks, @glemaitre. It was indeed a long journey. But I have learned a lot of specifics about contributing to scikit-learn. Hoping to keep contributing in the future.

@jnothman
Copy link
Member

jnothman commented Jun 17, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ICE to partial dependence plot
7 participants