ultraopt.optimizer package

Submodules

ultraopt.optimizer.base_opt module

class ultraopt.optimizer.base_opt.BaseOptimizer[源代码]

基类:object

ask(budget=1, n_points=None, strategy='cl_min') → Union[List[Tuple[dict, dict]], Tuple[dict, dict]][源代码]
get_available_max_budget()[源代码]
get_config(budget) → Tuple[dict, dict][源代码]
classmethod get_initial_budget2obvs(budgets)[源代码]
initialize(config_space, budgets=1, random_state=42, initial_points=None, budget2obvs=None)[源代码]
is_config_exist(budget, config: ConfigSpace.configuration_space.Configuration)[源代码]
new_result(job: ultraopt.structure.Job, update_model=True)[源代码]
pick_random_initial_config(budget, max_sample=1000, origin='Initial Design')[源代码]
process_all_configs_exist(info_dict, budget)[源代码]
process_config_info_pair(config: ConfigSpace.configuration_space.Configuration, info_dict: dict, budget)[源代码]
register_config(config, budget, start_time=None)[源代码]
reset_time()[源代码]
resume_time()[源代码]
tell(config: Union[dict, ConfigSpace.configuration_space.Configuration], loss: float, budget: float = 1, update_model=True)[源代码]
ultraopt.optimizer.base_opt.runId_info()[源代码]

ultraopt.optimizer.random_opt module

class ultraopt.optimizer.random_opt.RandomOptimizer[源代码]

基类:ultraopt.optimizer.base_opt.BaseOptimizer

get_available_max_budget()[源代码]

Module contents