Skip to content
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

Add support for latest xgboost version #407

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aadu
Copy link

@aadu aadu commented Jun 10, 2021

eli5 fails when booster.feature_names is None, which is now the default behavior in xgboost when passing in a vanilla numpy array.

TypeError: 'NoneType' object is not iterable

See dmlc/xgboost@9da2287 for the relevant commit in xgboost

@tjhallum
Copy link

As per this post on StackOverflow, I was able to sidestep this issue by downgrading to from XGBoost version 1.4.2 to version 1.3.0 (apparently 1.3.0 is the latest version supported by ELI5).

However...being forced to downgrade XGBoost isn't a satisfactory solution.

ELI5 should be compatible with the latest version of XGBoost.

@lopuhin
Copy link
Contributor

lopuhin commented May 11, 2022

The fix was released in 0.13

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