ScottfreeLLC / AlphaPy

Python AutoML for Trading Systems and Sports Betting
Apache License 2.0
1.11k stars 201 forks source link

fit() got an unexpected keyword argument 'eval_set' #12

Closed finetrade closed 6 years ago

finetrade commented 6 years ago

When I run Kaggle example I got error message:

File "/home/**/anaconda/lib/python2.7/site-packages/alphapy/model.py", line 723, in first_fit early_stopping_rounds=esr) TypeError: fit() got an unexpected keyword argument 'eval_set'

mrconway commented 6 years ago

The software runs only on Python 3. Make sure you get Anaconda 3 as well.

finetrade commented 6 years ago

I started Kaggle example yesterday, and it still shows: [09/27/17 12:12:07] INFO No RFE Available for XGB [09/27/17 12:12:07] INFO Randomized Grid Search

XGB grid search takes so long time?

mrconway commented 6 years ago

We need to add RFE for XGB, so we'll keep this open.

mrconway commented 6 years ago

You can use RFECV with XGBoost now, just make sure that scoring is set to True in the algos.yml file for XGB.