selector.pool
In this module the most important data structures are defined.
Classes
|
Configuration data object. |
|
Generator enumerator. |
|
Parameter type enumerator. |
|
Parameter data object. |
|
Status enumerator. |
|
Surrogate type enumerator. |
|
Task type enumerator. |
|
Tournament data object. |
- class selector.pool.Configuration(id: int, conf: dict, generator: Enum)[source]
Bases:
objectConfiguration data object.
- Parameters:
id (int) – uuid.UUID of the Configuration
conf (dict) – {Parameter name : parameter value}
generator (selector.pool.Generator) – Identifies how the configuration was generated.
- conf: dict
- generator: Enum
- id: int
- class selector.pool.Generator(value)[source]
Bases:
EnumGenerator enumerator.
- base = 8
- cppl = 7
- ggapp = 6
- lhc = 4
- random = 2
- smac = 5
- var_graph = 3
- class selector.pool.ParamType(value)[source]
Bases:
EnumParameter type enumerator.
- categorical = 1
- continuous = 2
- integer = 3
- class selector.pool.Parameter(name: str, type: str, bound: list, default: int, condition: list, scale: str, original_bound: list)[source]
Bases:
objectParameter data object.
- Parameters:
name (str) – Parameter name.
type (str) – Parameter type
bound (list) – Upper and lower bound, or list of possible values.
default (int) – Index of the default value in the bound, or float.
condition (list) – List of conditional values for this parameter.
scale (str) – Linear or log.
original_bound (list) – Unprocessed bound (as read in from .pcs).
- bound: list
- condition: list
- name: str
- original_bound: list
- scale: str
- type: str
- class selector.pool.Status(value)[source]
Bases:
EnumStatus enumerator.
- cap = 2
- running = 5
- stop = 4
- timeout = 3
- win = 1
- class selector.pool.Surrogates(value)[source]
Bases:
EnumSurrogate type enumerator.
- CPPL = 3
- SMAC = 1
- class selector.pool.TaskType(value)[source]
Bases:
EnumTask type enumerator.
- monitor = 2
- target_algorithm = 1
- class selector.pool.Tournament(id: int, best_finisher: list, worst_finisher: list, configurations: list, configuration_ids: list, ray_object_store: dict, instance_set: list, instance_set_id: int)[source]
Bases:
objectTournament data object.
- Parameters:
name (str) – Parameter name.
best_finisher (list) – Winner(s) of the tournament.
worst_finisher (list) – The rest of the participants.
configurations (list) – List of configuration IDs.
ray_object_store (dict) – Ray object adresses.
instance_set (list) – Tournament instance names.
instance_set_id (int) – ID of the instance set.
- best_finisher: list
- configuration_ids: list
- configurations: list
- id: int
- instance_set: list
- instance_set_id: int
- ray_object_store: dict
- worst_finisher: list