bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitrl::rl::algos::es::ESConfig Struct Reference

The settings of EvolutionStrategy. More...

#include <es_config.h>

Public Attributes

uint_t n_pairs {32}
 antithetic pairs per generation: 2 * n_pairs evaluations
real_t sigma {0.05}
 the standard deviation of the perturbations
real_t learning_rate {0.02}
 Adam's step size.
real_t weight_decay {0.005}
 pulls the parameters towards 0, as an L2 penalty
real_t beta1 {0.9}
 Adam.
real_t beta2 {0.999}
 Adam.
real_t adam_epsilon {1e-8}
 Adam.
bool rank_shaping {true}
 use centred ranks of the fitnesses, not the fitnesses
uint_t seed {42}
 the seed of every perturbation

Detailed Description

The settings of EvolutionStrategy.

Member Data Documentation

◆ adam_epsilon

real_t bitrl::rl::algos::es::ESConfig::adam_epsilon {1e-8}

Adam.

◆ beta1

real_t bitrl::rl::algos::es::ESConfig::beta1 {0.9}

Adam.

◆ beta2

real_t bitrl::rl::algos::es::ESConfig::beta2 {0.999}

Adam.

◆ learning_rate

real_t bitrl::rl::algos::es::ESConfig::learning_rate {0.02}

Adam's step size.

◆ n_pairs

uint_t bitrl::rl::algos::es::ESConfig::n_pairs {32}

antithetic pairs per generation: 2 * n_pairs evaluations

◆ rank_shaping

bool bitrl::rl::algos::es::ESConfig::rank_shaping {true}

use centred ranks of the fitnesses, not the fitnesses

◆ seed

uint_t bitrl::rl::algos::es::ESConfig::seed {42}

the seed of every perturbation

◆ sigma

real_t bitrl::rl::algos::es::ESConfig::sigma {0.05}

the standard deviation of the perturbations

◆ weight_decay

real_t bitrl::rl::algos::es::ESConfig::weight_decay {0.005}

pulls the parameters towards 0, as an L2 penalty


The documentation for this struct was generated from the following file: