msmbuilder / osprey

🦅Hyperparameter optimization for machine learning pipelines 🦅
http://msmbuilder.org/osprey
Apache License 2.0
74 stars 26 forks source link

Jump variable casting #224

Closed RobertArbon closed 7 years ago

RobertArbon commented 7 years ago

Changed the casting of jump variables so that they are cast to native python types (i.e. floats and ints). The problem was list(choices) keeps the types in the list intact and only changes the container to a python list. choices.tolist() changes the container AND the datatypes to native python types.

cxhernandez commented 7 years ago

👍

RobertArbon commented 7 years ago

Fantastic!