Modulus design
smac.random_design.modulus_design
#
DynamicModulusRandomDesign
#
DynamicModulusRandomDesign(
start_modulus: float = 2.0,
modulus_increment: float = 0.3,
end_modulus: float = inf,
seed: int = 0,
)
Bases: AbstractRandomDesign
Interleave a random configuration, decreasing the fraction of random configurations over time.
| PARAMETER | DESCRIPTION |
|---|---|
start_modulus
|
Initially, every modulus-th configuration will be at random.
TYPE:
|
modulus_increment
|
Increase modulus by this amount in every iteration.
TYPE:
|
end_modulus
|
The maximum modulus ever used. If the value is reached before the optimization
is over, it is not further increased. If it is not reached before the optimization is over,
there will be no adjustment to make sure that the
TYPE:
|
seed
|
Integer used to initialize the random state. This class does not use the seed.
TYPE:
|
Source code in smac/random_design/modulus_design.py
ModulusRandomDesign
#
Bases: AbstractRandomDesign
Interleave a random configuration after a constant number of configurations found by Bayesian optimization.
| PARAMETER | DESCRIPTION |
|---|---|
modulus
|
Every modulus-th configuration will be at random.
TYPE:
|
seed
|
Integer used to initialize random state. This class does not use the seed.
TYPE:
|