cotengra.hyper_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.hyper_choco.convert_param_to_choco(param)#

Convert a single search parameter suitably for chocolate.

cotengra.hyper_choco.get_chocolate_space(methods, space)#

Get the whole search space defined suitably for chocolate.

cotengra.hyper_choco.chocolate_init_optimizers(self, methods, space, sampler='CMAES', sampler_opts=None)#

Initialize the chocolate optimizer.

Parameters:
cotengra.hyper_choco.chocolate_get_setting(self)#

Find the next parameters to test.

cotengra.hyper_choco.chocolate_report_result(self, setting, trial, score)#

Report the result of a trial to the chocolate optimizer.