Closed emilyybo closed 2 years ago
Hello @emilyybo . Thank you for reporting that. What version of the xgboost lib are you using? The iteration_range argument for the predict function came in xgboost 1.4.0 release (check predict arguments in XGBoost Python API link). This XGBoost version is the starting supported version for XGBSE (as state in the setup.py file).
Suggestion: update your xgboost to xgboost==1.4.0 version
Code sample
Problem description
I tried to run the above example code and i encountered the following error