ultraopt.optimizer.bo package¶
Submodules¶
ultraopt.optimizer.bo.config_evaluator module¶
ultraopt.optimizer.bo.etpe_opt module¶
-
class
ultraopt.optimizer.bo.etpe_opt.
ETPEOptimizer
(top_n_percent=15, min_points_in_kde=2, bw_method='scott', cv_times=100, kde_sample_weight_scaler=None, gamma1=0.96, gamma2=3, max_bw_factor=4, min_bw_factor=1, max_try=3, min_points_in_model=20, min_n_candidates=8, n_candidates=None, n_candidates_factor=4, sort_by_EI=True, embedding_encoder='default')[源代码]¶ 基类:
ultraopt.optimizer.base_opt.BaseOptimizer
-
property
has_embedding_encoder
¶
-
property
ultraopt.optimizer.bo.sampling_sort_opt module¶
-
class
ultraopt.optimizer.bo.sampling_sort_opt.
SamplingSortOptimizer
(epm=None, config_transformer=None, use_local_search=False, loss_transformer='log_scaled', min_points_in_model=15, n_samples=5000, acq_func='LogEI', xi=0)[源代码]¶ 基类:
ultraopt.optimizer.base_opt.BaseOptimizer
-
evaluate
(configs: List[ConfigSpace.configuration_space.Configuration], budget, y_opt=None, return_loss_config_pairs=False, return_loss=False, return_loss_config=False)[源代码]¶
-
ultraopt.optimizer.bo.tree_based_opt module¶
-
class
ultraopt.optimizer.bo.tree_based_opt.
ForestOptimizer
(forest_type='ET', n_estimators=10, max_depth=None, max_features='auto', use_local_search=False, loss_transformer='log_scaled', min_points_in_model=20, n_samples=5000, acq_func='EI', xi=0, min_samples_leaf=1, min_weight_fraction_leaf=0, min_samples_split=2, max_leaf_nodes=None, min_impurity_decrease=0, bootstrap=True, oob_score=False, n_jobs=1, min_variance=0)[源代码]¶ 基类:
ultraopt.optimizer.bo.sampling_sort_opt.SamplingSortOptimizer
-
class
ultraopt.optimizer.bo.tree_based_opt.
GBRTOptimizer
(n_jobs=1, use_local_search=False, loss_transformer='log_scaled', min_points_in_model=20, n_samples=5000, acq_func='EI', xi=0)[源代码]¶ 基类:
ultraopt.optimizer.bo.sampling_sort_opt.SamplingSortOptimizer