Describe the bugpytest is failing (e.g., [1]) with the latest xgboost as it moved early_stopping_rounds and eval_metrics from fit() to __init__() of XGBClassifier and XGBRegressor (ref).
To Reproduce
Steps to reproduce the behavior: run pytest tests/test_propensity.py
Expected behavior
All tests pass without errors.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
OS: [e.g. macOS, Windows, Ubuntu] macOS
Python Version: [e.g. 3.6, 3.7] 3.9
Versions of Major Dependencies (pandas, scikit-learn, cython): [e.g. pandas==0.25, scikit-learn==0.22, cython==0.28] xgboost==2.1.1
Additional context
Add any other context about the problem here.
Describe the bug
pytest
is failing (e.g., [1]) with the latest xgboost as it movedearly_stopping_rounds
andeval_metrics
fromfit()
to__init__()
ofXGBClassifier
andXGBRegressor
(ref).To Reproduce Steps to reproduce the behavior: run
pytest tests/test_propensity.py
Expected behavior All tests pass without errors.
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
pandas
,scikit-learn
,cython
): [e.g.pandas==0.25
,scikit-learn==0.22
,cython==0.28
]xgboost==2.1.1
Additional context Add any other context about the problem here.