Skip to content

Test PermutationImportance with XGBClassifier and pd.DataFrame issue#256#261

Open
harrysalmon wants to merge 1 commit intoTeamHG-Memex:masterfrom
harrysalmon:failing-test-permutation-importance-xgb-pandas
Open

Test PermutationImportance with XGBClassifier and pd.DataFrame issue#256#261
harrysalmon wants to merge 1 commit intoTeamHG-Memex:masterfrom
harrysalmon:failing-test-permutation-importance-xgb-pandas

Conversation

@harrysalmon
Copy link
Copy Markdown

@harrysalmon harrysalmon commented Apr 28, 2018

PermutationImportance.fit fails with XGBClassifier when passed a pandas Dataframe but fits when passed an numpy array.

A test for the error in #256 @ianozsvald

May also be related to general xgb >= 0.7 issue #259

@ianozsvald
Copy link
Copy Markdown

Many thanks for the test @harrysalmon . To the core devs on ELI5 - this test is a result of a "Make your firsts open source contribution" that I co-ran at PyDataLondon 2018 yesterday. Cheers!

@lopuhin
Copy link
Copy Markdown
Contributor

lopuhin commented May 3, 2018

Great, thanks a lot for contributing the test @harrysalmon and for finding the issue @ianozsvald !

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants