otx.core.config.hpo#

Config objects for HPO.

Classes

HpoConfig([search_space, save_path, mode, ...])

DTO for HPO configuration.

class otx.core.config.hpo.HpoConfig(search_space: dict[str, dict[str, Any]] | None = None, save_path: str | None = None, mode: Literal['max', 'min'] = 'max', num_trials: int | None = None, num_workers: int = 1, expected_time_ratio: int | float | None = 4, maximum_resource: int | float | None = None, prior_hyper_parameters: dict | list[dict] | None = None, acceptable_additional_time_ratio: float | int = 1.0, minimum_resource: int | float | None = None, reduction_factor: int = 3, asynchronous_bracket: bool = True, asynchronous_sha: bool = False, metric_name: str | None = None)[source]#

Bases: object

DTO for HPO configuration.