run_sweep
Run a sequential grid search that creates one child run per parameter combination, ranked by a chosen metric. Use it to compare hyperparameters with shared fixed params.
Instructions
Run a grid search: one sweep run plus one child run per combination, executed one after another.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| grid | Yes | Param -> list of values, e.g. {'alpha': [0.1, 1, 10], 'layers': [1, 2]} | |
| mode | No | Whether lower or higher metric is better | max |
| step | Yes | Step to execute for every combination | |
| wait | No | Wait for the whole sweep (up to timeout_s) | |
| metric | No | Metric that ranks the runs, e.g. 'val_rmse' | |
| params | No | Fixed params shared by all runs | |
| max_runs | No | Refuse grids larger than this | |
| timeout_s | No | Max seconds to wait | |
| extra_args | No | Extra command-line arguments for every run |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||