cotengra.hyperoptimizers.hyper_choco

Hyper optimization using choco.

Module Contents

Functions

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.

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.