multiml.agent.GridSearchAgent
- class multiml.agent.GridSearchAgent(**kwargs)
Agent scanning all possible subtasks and hyper parameters.
- __init__(**kwargs)
Initialize grid scan agent.
- Parameters:
kwargs (dict) – arbitrary kwargs passed to
RandomSearchAgent
class.
Methods
__init__
(**kwargs)Initialize grid scan agent.
execute
()Execute grid scan agent.
execute_differentiable
(subtasktuples, counter)Execute connection model.
execute_finalize
()Execute and finalize base agent.
execute_jobs
(ctx, queue, args)(expert method) Execute multiprocessing jobs.
execute_pipeline
(subtasktuples, counter[, trial])Execute pipeline.
execute_pool_jobs
(ctx, queue, args)(expert method) Execute multiprocessing pool jobs.
execute_subtasktuples
(subtasktuples, counter)Execute given subtasktuples.
execute_wrapper
(queue, subtasktuples, ...)(expert method) Wrapper method to execute multiprocessing pipeline.
finalize
()Finalize grid scan agent.
Attributes
history
Return history of execution.
metric
Return metric of base agent.
result
Return result of execution.
saver
Return saver of base agent.
storegate
Return storegate of base agent.
task_scheduler
Return task_scheduler of base agent.
- __init__(**kwargs)
Initialize grid scan agent.
- Parameters:
kwargs (dict) – arbitrary kwargs passed to
RandomSearchAgent
class.