deephyper.search.Search
deephyper.search.Search#
-
class
deephyper.search.
Search
(problem, evaluator, random_state=None, log_dir='.', verbose=0, **kwargs)[source]# Bases:
abc.ABC
Abstract class which represents a search algorithm.
- Parameters
Methods
Dumps the context in the log folder.
Execute the search algorithm.
Terminate the search.
Returns a json version of the search object.
-
search
(max_evals: int = - 1, timeout: Optional[int] = None)[source]# Execute the search algorithm.
- Parameters
- Returns
a pandas DataFrame containing the evaluations performed or
None
if the search could not evaluate any configuration.- Return type
DataFrame
-
terminate
()[source]# Terminate the search.
- Raises
SearchTerminationError – raised when the search is terminated with SIGALARM