automl / RoBO

RoBO: a Robust Bayesian Optimization framework
BSD 3-Clause "New" or "Revised" License
483 stars 133 forks source link

Make random forest model pickle-able #108

Closed dekuenstle closed 5 years ago

dekuenstle commented 5 years ago

The rfr C++ random number generator is not pickle-able but is an attribute of the random forest model. To pickle the model we have to delete the rng before dumping and add it back after loading. Sadly there is no easy and robust way to also store the internal state of the rng, so we loose it.