automl / RoBO

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

Fix dtype chages for types array #23

Closed stokasto closed 8 years ago

stokasto commented 8 years ago

You need to be carefull with simply changing .dtype of a numpy array this will NOT cast the value but rather just re-interpred the storage. I guess what you wanted was casting and changed it.