Other¶
-
class bayes_opt.ScreenLogger(verbose: int =
2
, is_constrained: bool =False
) None ¶ Logger that outputs text, e.g. to log to a terminal.
- Parameters:¶
-
class bayes_opt.JSONLogger(path: str | PathLike[str], reset: bool =
True
)¶ Logger that outputs steps in JSON format.
The resulting file can be used to restart the optimization from an earlier state.
- Parameters:¶
- path : str or os.PathLike¶
Path to the file to write to.
- reset : bool¶
Whether to overwrite the file if it already exists.
- class bayes_opt.Events¶
Define optimization events.
Behaves similar to enums.