cotengra.hyperoptimizers.hyper_choco¶
Hyper optimization using choco.
Functions¶
|
Convert a single search parameter suitably for |
|
Get the whole search space defined suitably for |
|
Initialize the |
|
Find the next parameters to test. |
|
Report the result of a trial to the |
Module Contents¶
- 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:
space (dict[str, dict[str, dict]]) – The search space.
sampler (str, optional) – The optimizer to search the space with, see https://chocolate.readthedocs.io/en/latest/tutorials/algo.html.