cotengra.experimental.hyper_smac ================================ .. py:module:: cotengra.experimental.hyper_smac .. autoapi-nested-parse:: Hyper parameter optimization using SMAC3. https://automl.github.io/SMAC3/latest/ Classes ------- .. autoapisummary:: cotengra.experimental.hyper_smac.SMACOptLib Functions --------- .. autoapisummary:: cotengra.experimental.hyper_smac.build_config_space cotengra.experimental.hyper_smac.config_to_params Module Contents --------------- .. py:function:: build_config_space(method, space) Build a SMAC ``ConfigurationSpace`` from a cotengra space dict. :param method: The method name (used as a prefix to avoid name collisions when multiple methods share the same parameter name). :type method: str :param space: The search space for a single method. :type space: dict[str, dict] :returns: **cs** :rtype: ConfigurationSpace .. py:function:: config_to_params(config) Convert a SMAC ``Configuration`` to a plain dict of parameters. .. py:class:: SMACOptLib Bases: :py:obj:`cotengra.experimental.hyper.HyperOptLib` Hyper-optimization using SMAC3 with per-method facades and a Lower Confidence Bound method selector. .. py:method:: setup(methods, space, optimizer=None, facade='BlackBoxFacade', n_trials=10000, seed=0, method_exploration=1.0, method_temperature=1.0, **facade_opts) .. py:method:: get_setting() .. py:method:: report_result(setting, trial, score)