HIPS / Spearmint

Spearmint Bayesian optimization codebase
Other
1.55k stars 328 forks source link

Fixed problem with experiments with 1 variable #72

Open jpuigcerver opened 8 years ago

jpuigcerver commented 8 years ago

Hi,

I ran into a problem when trying to run experiments optimizing just one variable/parameter. Apparently the np.squeeze() function was not producing an array of the expected size in this case.

This tiny commit fixes the problem.