resolve_optuna
Returns:
resolve_metric_output
Returns:
Raises:
Examples:
BaseOptunaTrial
Ancestors
abc.ABC
Descendants
systematica.portfolio.tuners.utils.Categoricalsystematica.portfolio.tuners.utils.Floatsystematica.portfolio.tuners.utils.Intsystematica.portfolio.tuners.utils.Param
Methods
suggest
Returns:
Float
Ancestors
systematica.portfolio.tuners.utils.BaseOptunaTrialabc.ABC
Instance variables
-
high: float: Upper endpoint of the range of suggested values.highis included in the range.highmust be greater than or equal tolow. -
log: bool: A flag to sample the value from the log domain or not. IflogisTrue, the value is sampled from the range in the log domain. Otherwise, the value is sampled from the range in the linear domain. -
low: float: Lower endpoint of the range of suggested values.lowis included in the range.lowmust be less than or equal tohigh. IflogisTrue,lowmust be larger than 0. -
name: str: A parameter name. -
step: float | None: A step of discretization.
Methods
suggest
Returns:
Int
Ancestors
systematica.portfolio.tuners.utils.BaseOptunaTrialabc.ABC
Instance variables
-
high: int: Upper endpoint of the range of suggested values.highis included in the range.highmust be greater than or equal tolow. -
log: bool: A flag to sample the value from the log domain or not. Iflogis true, the value is sampled from the range in the log domain. Otherwise, the value is sampled from the range in the linear domain. -
low: int: Lower endpoint of the range of suggested values.lowis included in the range.lowmust be less than or equal tohigh. IflogisTrue,lowmust be larger than 0. -
name: str: A parameter name. -
step: int: A step of discretization.
Methods
suggest
[\mathsf{low}, \mathsf{high}].
Parameters:
Returns:
Categorical
Ancestors
systematica.portfolio.tuners.utils.BaseOptunaTrialabc.ABC
Instance variables
-
choices: Sequence[bool | int | float | str | None]: Parameter value candidates. -
name: str: A parameter name.
Methods
suggest
choices.
Parameters:
Returns:
Param
Ancestors
systematica.portfolio.tuners.utils.BaseOptunaTrialabc.ABC
Instance variables
-
choices: Sequence[bool | int | float | str | None]: Parameter value candidates. -
high: int: Upper endpoint of the range of suggested values.highis included in the range.highmust be greater than or equal tolow. -
log: bool: A flag to sample the value from the log domain or not. Iflogis true, the value is sampled from the range in the log domain. Otherwise, the value is sampled from the range in the linear domain. -
low: int: Lower endpoint of the range of suggested values.lowis included in the range.lowmust be less than or equal tohigh. IflogisTrue,lowmust be larger than 0. -
name: str: A parameter name. -
step: int: A step of discretization.
Methods
suggest
Returns:

