liuchbryan / generalised_forest_tuning

Generalising Random Forest Parameter Optimisation to Include Stability and Cost
5 stars 0 forks source link

Upgrade to Python 3 #12

Open liuchbryan opened 4 years ago

liuchbryan commented 4 years ago

Python 2 will be sunset on 1 Jan 2020. This issue is to gauge the demand in upgrading the research code to Python 3.

The mathematics has not changed, and hence implementing the formulas from scratch shouldn't be the toughest job, any collaboration is welcomed (and much appreciated) though!

liuchbryan commented 3 years ago

Update: the upgrade is more difficult than it seems, as pybo, the Bayesian optimisation library that this repo is using, is still on Python 2. Someone has kindly attempted to upgrade the library, but the CI pipeline fails once we bump the running environment to Python 3.8 as there are further downstream dependencies that are on Python 2 (see https://github.com/mwhoffman/pybo/pull/32)

A possible solution is to employ another Bayesian optimisation library that has been upgraded to Python 3.