cotengra.hyperoptimizers.hyper_skopt

Hyper optimization using scikit-optimize.

Functions

register_hyper_optlib(name, init_optimizers, ...)

convert_param_to_skopt(param, name)

get_methods_space(methods)

convert_to_skopt_space(method, space)

skopt_init_optimizers(self, methods, space[, sampler, ...])

Initialize the skopt optimizer.

skopt_get_setting(self)

Find the next parameters to test.

skopt_report_result(self, setting, trial, score)

Report the result of a trial to the chocolate optimizer.

Module Contents

cotengra.hyperoptimizers.hyper_skopt.register_hyper_optlib(name, init_optimizers, get_setting, report_result)[source]
cotengra.hyperoptimizers.hyper_skopt.convert_param_to_skopt(param, name)[source]
cotengra.hyperoptimizers.hyper_skopt.get_methods_space(methods)[source]
cotengra.hyperoptimizers.hyper_skopt.convert_to_skopt_space(method, space)[source]
cotengra.hyperoptimizers.hyper_skopt.skopt_init_optimizers(self, methods, space, sampler='et', method_sampler='et', sampler_opts=None, method_sampler_opts=None)[source]

Initialize the skopt optimizer.

Parameters:
cotengra.hyperoptimizers.hyper_skopt.skopt_get_setting(self)[source]

Find the next parameters to test.

cotengra.hyperoptimizers.hyper_skopt.skopt_report_result(self, setting, trial, score)[source]

Report the result of a trial to the chocolate optimizer.