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
{{ message }}
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.
Hello,
I am trying to assign a parameter search space to param_distributions that is a list of distinct search spaces.
This is to enable me to search through multiple dimension reduction and feature selection algorithms and also search for optimal parameters for them.
As a trivial example, if I would like to use a pipeline with a structure like this:
However, TuneSearchCV doesn't accept such a list of dicts to represent the search spaces, throwing up an error as in the title. BaySearchSV works just fine.
I have the following Questions:
Is there a way to use TuneSearchCV to search through all the search spaces described above?
Is there an alternative way to represent the search spaces that SKLearn accepts that I am ignorant about?
Any steer would be appreciated.
RNarayan73
The text was updated successfully, but these errors were encountered:
Thanks for the steer @Yard1.
So far, all my code has been entirely SKLearn compatible which allows me to reuse the same workflows for various HP search techniques such as BayesSearchCV, TuneSearchCV, OptunaSearchCV, EvolutionarySearchCV etc. with minimal rework.
If I went down the route suggested in the help doc, and coded for the Ray Tune API, could it be used with TuneSearchCV in SKLearn as well?
Hello,
I am trying to assign a parameter search space to param_distributions that is a list of distinct search spaces.
This is to enable me to search through multiple dimension reduction and feature selection algorithms and also search for optimal parameters for them.
As a trivial example, if I would like to use a pipeline with a structure like this:
where dim_red has search spaces like this:
encode and classify steps both have their own set of search spaces, but not elaborated for brevity.
I would need to create a list of dicts with all valid combinations of the search spaces for each of the dim_red algorithms
However, TuneSearchCV doesn't accept such a list of dicts to represent the search spaces, throwing up an error as in the title. BaySearchSV works just fine.
I have the following Questions:
Any steer would be appreciated.
RNarayan73
The text was updated successfully, but these errors were encountered: