cotengra.hyperoptimizers.hyper_choco

Hyper optimization using choco.

Functions

register_hyper_optlib(name, init_optimizers, ...)

convert_param_to_choco(param)

Convert a single search parameter suitably for chocolate.

get_chocolate_space(methods, space)

Get the whole search space defined suitably for chocolate.

chocolate_init_optimizers(self, methods, space[, ...])

Initialize the chocolate optimizer.

chocolate_get_setting(self)

Find the next parameters to test.

chocolate_report_result(self, setting, trial, score)

Report the result of a trial to the chocolate optimizer.

Module Contents

cotengra.hyperoptimizers.hyper_choco.register_hyper_optlib(name, init_optimizers, get_setting, report_result)[source]
cotengra.hyperoptimizers.hyper_choco.convert_param_to_choco(param)[source]

Convert a single search parameter suitably for chocolate.

cotengra.hyperoptimizers.hyper_choco.get_chocolate_space(methods, space)[source]

Get the whole search space defined suitably for chocolate.

cotengra.hyperoptimizers.hyper_choco.chocolate_init_optimizers(self, methods, space, sampler='CMAES', sampler_opts=None)[source]

Initialize the chocolate optimizer.

Parameters:
cotengra.hyperoptimizers.hyper_choco.chocolate_get_setting(self)[source]

Find the next parameters to test.

cotengra.hyperoptimizers.hyper_choco.chocolate_report_result(self, setting, trial, score)[source]

Report the result of a trial to the chocolate optimizer.