smac.random_design.abstract_random_design

Classes

AbstractRandomDesign([seed])

Abstract base of helper classes to configure interleaving of random configurations in a list of challengers.

Interfaces

class smac.random_design.abstract_random_design.AbstractRandomDesign(seed=0)[source]

Bases: object

Abstract base of helper classes to configure interleaving of random configurations in a list of challengers.

Parameters:

seed (int) – The random seed initializing this design.

abstract check(iteration)[source]

Check, if the next configuration should be random.

Parameters:

iteration (int) – Number of the i-th configuration evaluated in an SMBO iteration.

Returns:

Whether the next configuration should be random.

Return type:

bool

property meta: dict[str, Any]

Returns the meta data of the created object.

next_iteration()[source]

Indicates the beginning of the next SMBO iteration.

Return type:

None