multiml.agent.basic.connection_grid_search module
- class multiml.agent.basic.connection_grid_search.ConnectionGridSearchAgent(reuse_pretraining=False, **kwargs)
Bases:
GridSearchAgent
,ConnectionRandomSearchAgent
Agent executing with all possible hyperparameter combination.
- __init__(reuse_pretraining=False, **kwargs)
Initialize.
- Parameters:
reuse_pretraining (bool) – Use common model weights for pretraining
**kwargs – Arbitrary keyword arguments
- execute()
Execute.
- finalize()
Finalize.
- get_best_result()
Returns the best combination as a result of agent execution.
- Returns:
best result dict: auxiliary value of the best result
- Return type:
dict