rsteca / sklearn-deap

Use evolutionary algorithms instead of gridsearch in scikit-learn
MIT License
771 stars 131 forks source link

这个模型能否为回归模型进行调整参数呢? #74

Open formoree opened 2 years ago

formoree commented 2 years ago

我尝试调用回归模型进行调参,会有报错,说是无法使用连续的值。从源码中我也看到的is_claaifier()的代码,就是来询问模型是否是分类器。所以我就想问一下这个包能否为回归模型调整参数呢?

formoree commented 2 years ago

我将label零一处理,然后调用evolutionary-search进行训练,得到超参数并用原数据对模型进行训练,这能作为对回归模型的调参法吗?