zygmuntz / hyperband

Tuning hyperparams fast with Hyperband
http://fastml.com/tuning-hyperparams-fast-with-hyperband/
Other
593 stars 75 forks source link

Migrated to Python 3 and fixed a bug in xgb defs #2

Open kdubovikov opened 7 years ago

kdubovikov commented 7 years ago

Hi, I have migrated the codebase to Python 3 and fixed a bug in defs/xgb.py. Hope this will be useful

zygmuntz commented 7 years ago

Thanks, but it won't work with Python 2 now, will it?

kdubovikov commented 7 years ago

Yes, you are right. I will manage this with from __future__ import print_function and update the PR. Then it will work with Python 2 and 3 simultaneously

UPDATE please see new commit, you may check if it works with Python 2 now

zygmuntz commented 7 years ago

You haven't updated all the prints in defs/* and defs_regression/*, though