You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment GridSearchCV allows to accepts a pipeline as input that it then wraps internally in Optimize. As a result, we need to forward parameters to Optimize and there is no way for a user to wrap another Optimizer into GridSearchCV.
A solution could be to allow passing a Optimizer instance to GridSearchCV directly. The only downside is, that you would need to nest the naming for the Parameter Grid one level deeper, which can become annoying
The text was updated successfully, but these errors were encountered:
Maybe we could add a "prefix_parameter_names" attribute, that could be set, if you pass a complicated chain of nested Optimizers. Might also be helpful in case of #84
I decided against this for now, as this might make things much more complicated. However in #116 I extracted the part of the GridSearchCV method, where we wrap the pipeline into a separate function. So in case someone really needs it, they could subclass GridSearchCV to get another type of optimizer working
At the moment GridSearchCV allows to accepts a pipeline as input that it then wraps internally in
Optimize
. As a result, we need to forward parameters toOptimize
and there is no way for a user to wrap another Optimizer into GridSearchCV.A solution could be to allow passing a Optimizer instance to
GridSearchCV
directly. The only downside is, that you would need to nest the naming for the Parameter Grid one level deeper, which can become annoyingThe text was updated successfully, but these errors were encountered: