rodrigo-arenas / Sklearn-genetic-opt

ML hyperparameters tuning and features selection, using evolutionary algorithms.
https://sklearn-genetic-opt.readthedocs.io
MIT License
286 stars 73 forks source link

[FEATURE] Support for XGBoost early stopping #108

Closed hrampadarath closed 1 year ago

hrampadarath commented 1 year ago

Thanks for such a cool package.

I'm using GASearchCV to hypertune an xgboost model. However, it is failing if I use early stopping an fit() Can early stopping (and the additional xgbosst fitting params) be used with GASearchCV().fit()?

Thanks, Hayden

rodrigo-arenas commented 1 year ago

Hi @hrampadarath, can you please provide a snippet of the code you're using and the error you get? This way it's easier to evaluate what is going on