Expand description
Study runner — orchestrates hyperparameter optimization.
Iterates over trials: samples parameters, calls the executor with a
TrialContext handle, records metrics, feeds results back to the
sampler (ask/tell), consults the pruner on intermediate metrics,
and persists the study through an optional tracker after every
trial. Resume-aware: a study with N recorded trials continues at
trial N.
Structs§
- FnTrial
Executor - Function-based trial executor for convenience.
- Study
Runner - Runs a Study: samples parameters, executes trials, records results.
- Trial
Context - Handle passed to a trial: reports intermediate metrics and asks whether the pruner wants the trial stopped.
Enums§
- Trial
Outcome - Result of executing a trial. Separates control flow (pruning) from errors.
Traits§
- Trial
Executor - Callback that executes a trial given sampled parameters.