evorl.algorithms.meta.pbt_utils¶
Module Contents¶
Functions¶
Sample from exp(-x). |
|
Random sample from log space. |
|
Random sample from a truncated normal distribution. |
|
Random sample. |
API¶
- evorl.algorithms.meta.pbt_utils.exp_uniform_init(search_space, key: chex.PRNGKey, num: int) chex.Array[source]¶
Sample from exp(-x).
- evorl.algorithms.meta.pbt_utils.log_uniform_init(search_space, key: chex.PRNGKey, num: int) chex.Array[source]¶
Random sample from log space.
Suitable for hyperparameters that need explore different magnitudes in positive range. eg: [1e-3, 100].