deephyper.search.nas.NeuralArchitectureSearch
deephyper.search.nas.NeuralArchitectureSearch#
-
class
deephyper.search.nas.
NeuralArchitectureSearch
(problem, evaluator, random_state=None, log_dir='.', verbose=0, **kwargs)[source]# Bases:
deephyper.search._search.Search
Methods
Dumps the context in the log folder.
Execute the search algorithm.
Terminate the search.
Returns a json version of the search object.
-
dump_context
()# Dumps the context in the log folder.
-
search
(max_evals: int = - 1, timeout: Optional[int] = None)# 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
()# Terminate the search.
- Raises
SearchTerminationError – raised when the search is terminated with SIGALARM
-
to_json
()# Returns a json version of the search object.
-