Skip to content

[MRG + 1] Fix for uneven grids in Partial Dependence Plots example #5847

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

Conversation

trevorstephens
Copy link
Contributor

Fixes 5846 ... Sorry #5810 - The problem was not in the code base, but the shape of Z. The output of the example won't change, but a user can change the grid_resolution param such that it exceeds the number of unique values and then the shapes become invalid.

@trevorstephens
Copy link
Contributor Author

Finished compiling docs locally. Output looks clean.

@amueller
Copy link
Member

I trust you ;) LGTM

@amueller
Copy link
Member

(and apart from trusting you, the output also looks good to me).

@amueller amueller changed the title [MRG] Fix for uneven grids in Partial Dependence Plots example [MRG + 1] Fix for uneven grids in Partial Dependence Plots example Dec 11, 2015
@ogrisel
Copy link
Member

ogrisel commented Dec 29, 2015

This PR needs to be rebased on top of current master. Unfortunately I cannot test it as long as #6055 is not complete.

@ogrisel
Copy link
Member

ogrisel commented Dec 29, 2015

Also the print statements need to be replaced by print() and from __future__ import print_function at the top of the file to get the same output under both Python 2 and Python 3.

@ogrisel
Copy link
Member

ogrisel commented Jan 4, 2016

Rebased and merged as eb4bd09. Thanks for the fix.

@ogrisel ogrisel closed this Jan 4, 2016
@Sandy4321
Copy link

Cool thanks

@trevorstephens trevorstephens deleted the grid_resolution-partial_dependence branch October 15, 2016 08:01
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.

4 participants