:py:mod:`cotengra.hyperoptimizers.hyper_skopt` ============================================== .. py:module:: cotengra.hyperoptimizers.hyper_skopt .. autoapi-nested-parse:: Hyper optimization using scikit-optimize. Module Contents --------------- Functions ~~~~~~~~~ .. autoapisummary:: cotengra.hyperoptimizers.hyper_skopt.convert_param_to_skopt cotengra.hyperoptimizers.hyper_skopt.get_methods_space cotengra.hyperoptimizers.hyper_skopt.convert_to_skopt_space cotengra.hyperoptimizers.hyper_skopt.skopt_init_optimizers cotengra.hyperoptimizers.hyper_skopt.skopt_get_setting cotengra.hyperoptimizers.hyper_skopt.skopt_report_result .. py:function:: convert_param_to_skopt(param, name) .. py:function:: get_methods_space(methods) .. py:function:: convert_to_skopt_space(method, space) .. py:function:: skopt_init_optimizers(self, methods, space, sampler='et', method_sampler='et', sampler_opts=None, method_sampler_opts=None) Initialize the ``skopt`` optimizer. :param space: The search space. :type space: dict[str, dict[str, dict]] :param sampler: The regressor to use to optimize each method's search space, see https://scikit-optimize.github.io/stable/modules/generated/skopt.Optimizer.html#skopt.Optimizer . :type sampler: str, optional :param method_sampler: Meta-optimizer to use to select which overall method to use. :type method_sampler: str, optional .. py:function:: skopt_get_setting(self) Find the next parameters to test. .. py:function:: skopt_report_result(self, setting, trial, score) Report the result of a trial to the ``chocolate`` optimizer.