Source code for autogllight.hpo.cmaes_advisorchoco
import hyperopt
from . import register_hpo
from .advisorbase import AdvisorBaseHPOptimizer
from .suggestion.algorithm.cmaes import CmaesAlgorithm
[docs]@register_hpo("cmaes")
class CmaesAdvisorChoco(AdvisorBaseHPOptimizer):
"""
CMAES algorithm in `advisor` package
See https://github.com/tobegit3hub/advisor for the package
See .advisorbase.AdvisorBaseHPOptimizer for more information
"""
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.method = CmaesAlgorithm()