uber / causalml

Uplift modeling and causal inference with machine learning algorithms
Other
5.01k stars 771 forks source link

pytest failure with the latest xgboost #787

Closed jeongyoonlee closed 2 months ago

jeongyoonlee commented 2 months ago

Describe the bug pytest 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):

Additional context Add any other context about the problem here.