hyperopt / hyperopt-sklearn

Hyper-parameter optimization for sklearn
hyperopt.github.io/hyperopt-sklearn
Other
1.58k stars 271 forks source link

using integers to match new sklearn decision tree parameters #135

Closed bjkomer closed 5 years ago

bjkomer commented 5 years ago

sklearn version 0.18 changed the min_samples_leaf and min_samples_split parameters of sklearn.tree.DecisionTreeClassifier to function differently if given integers or floats. Casting the default search space to integer to match old behaviour and prevent errors.