Open aadu opened 3 years ago
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.
The fix was released in 0.13
eli5 fails when booster.feature_names is
None
, which is now the default behavior in xgboost when passing in a vanilla numpy array.See https://github.com/dmlc/xgboost/commit/9da2287ab8536e4fc35e3c6664af4597353fd257 for the relevant commit in xgboost