New! Use Simple ML for Sheets to apply machine learning to the data in your Google Sheets Read More


Set of hyperparameter and their respective possible values.

The user is not expected to create a "SearchSpace" object directly. Instead, SearchSpace object are instantiated by tuners.



View source

Adds a hyperparameter with a list of possible values.

key Name of the hyper-parameter.
values List of possible value for the hyperparameter.
merge If false (default), raises an error if the hyper-parameter already exist. If true, adds values to the parameter if it already exist.

The conditional SearchSpace corresponding to the values in "values".