on_optimization_start#
- JSONLogger.on_optimization_start(project, num_params, bounds, **kwargs)#
Resolve the JSON output path and reset the in-memory history.
- Parameters:
- project
Project The optimization project. Used to locate the project folder for the default output path when
log_dirwas not provided.- num_params
int Number of parameters; folded into the output filename.
- bounds
list Parameter bounds (logged at DEBUG only – the JSON output does not include bounds).
- **kwargs
Additional run metadata; ignored here.
- project