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
RandomSearchAgentclass.
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
historyReturn history of execution.
metricReturn metric of base agent.
resultReturn result of execution.
saverReturn saver of base agent.
storegateReturn storegate of base agent.
task_schedulerReturn task_scheduler of base agent.
- __init__(**kwargs)
Initialize grid scan agent.
- Parameters:
kwargs (dict) – arbitrary kwargs passed to
RandomSearchAgentclass.