Eips encoder
smac.runhistory.encoder.eips_encoder
#
RunHistoryEIPSEncoder
#
RunHistoryEIPSEncoder(
scenario: Scenario,
considered_states: list[StatusType] = None,
lower_budget_states: list[StatusType] = None,
scale_percentage: int = 5,
seed: int | None = None,
)
Bases: AbstractRunHistoryEncoder
Encoder specifically for the EIPS (expected improvement per second) acquisition function.
Source code in smac/runhistory/encoder/abstract_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 function response values. Transform the runtimes by a log transformation log(1. + runtime).
| PARAMETER | DESCRIPTION |
|---|---|
values
|
Response values to be transformed.
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
ndarray
|
|