hyperopt / hyperopt-sklearn

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

Incompatible key word arguments in decision_tree #170

Open baasman opened 3 years ago

baasman commented 3 years ago

Currently, at least decision_tree seems to be failing due to the keyword "presort" being removed in DecisionTreeClassifier. Downgrading sklearn to earlier versions would fix this, but I'm using more recent version (.23 and up) for other reasons. Is there a way to have finer control over what kwargs are passed? Is this even fixable within hyperopt-sklearn? Or do I have to live with using older versions of scikit-learn?