Skip to content

Documentation for Categorical

Class for defining a definite list of values.

__init__(self, values) special

Initialize the object.

Parameters:

Name Type Description Default
values list

Definite list of hyperparameter values.

required
Source code in photonai/optimization/hyperparameters.py
def __init__(self, values: list):
    """
    Initialize the object.

    Parameters:
        values:
            Definite list of hyperparameter values.

    """
    super(Categorical, self).__init__(values)