Inverse scaled encoder
smac.runhistory.encoder.inverse_scaled_encoder
#
RunHistoryInverseScaledEncoder
#
Bases: RunHistoryEncoder
Source code in smac/runhistory/encoder/inverse_scaled_encoder.py
meta
property
#
Returns the meta-data of the created object.
| RETURNS | DESCRIPTION |
|---|---|
dict[str, Any]: meta-data of the created object: name, considered states, lower budget
|
|
states, scale_percentage, seed.
|
|
multi_objective_algorithm
property
writable
#
multi_objective_algorithm: (
AbstractMultiObjectiveAlgorithm | None
)
The multi objective algorithm used to transform the data.
get_configurations
#
Returns vector representation of the configurations.
Warning
Instance features are not appended and cost values are not taken into account.
| PARAMETER | DESCRIPTION |
|---|---|
budget_subset
|
List of budgets to consider.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
configs_array
|
TYPE:
|
Source code in smac/runhistory/encoder/abstract_encoder.py
transform
#
Returns a vector representation of the RunHistory.
| PARAMETER | DESCRIPTION |
|---|---|
budget_subset
|
List of budgets to consider.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
X
|
Configuration vector and instance features.
TYPE:
|
Y
|
Cost values.
TYPE:
|
Source code in smac/runhistory/encoder/abstract_encoder.py
transform_response_values
#
Transform the response values by linearly scaling them between zero and one and then use inverse scaling.