continuous#
Parameters that can be sampled continuously between a minimum and maximum
Classes
|
Represents a continuous parameter. |
|
This is an observational numeric variable that is used for fitting but is not leveraged during optimization |
- class obsidian.parameters.continuous.Param_Continuous(name: str, min: int | float, max: int | float, search_min: int | float | None = None, search_max: int | float | None = None)[source]#
Bases:
Parameter
Represents a continuous parameter.
- name#
The name of the parameter.
- Type:
str
- min#
The minimum value of the parameter.
- Type:
int or float
- max#
The maximum value of the parameter.
- Type:
int or float
- Properties:
range (int): The range of the parameter (max - min).
- decode(X)#
Decode parameter from transformed space
- encode(X)#
Encode parameter to a format that can be used for training
- property range#
The range of the parameter (max - min)
- class obsidian.parameters.continuous.Param_Observational(name: str, min: int | float, max: int | float, search_min: int | float | None = None, search_max: int | float | None = None, design_point: int | float | None = None)[source]#
Bases:
Param_Continuous
This is an observational numeric variable that is used for fitting but is not leveraged during optimization
- name#
The name of the parameter.
- Type:
str
- min#
The minimum value of the parameter.
- Type:
int or float
- max#
The maximum value of the parameter.
- Type:
int or float
- design_point#
The point which the observational value will be locked to during experiment optimization
- Type:
int or float