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

The configuration of DoubleQLearning. More...

#include <double_q_learning.h>

Public Attributes

std::string path {bitsim::consts::INVALID_STR}
 Where to save the two tables when training ends; nothing is saved if it is not set.
real_t tolerance {1.0e-8}
 Not used; the trainer decides when training stops.
real_t gamma {0.99}
 The discount factor.
real_t eta {0.1}
 The learning rate.
uint_t max_num_iterations_per_episode {100}
 The most steps an episode can take.
uint_t n_episodes {100}
 Not used; the trainer decides how many episodes to run.
uint_t seed {42}
 The seed of the coin that picks which table a step updates.

Detailed Description

The configuration of DoubleQLearning.

Member Data Documentation

◆ eta

real_t bitrl::rl::algos::td::DoubleQLearningConfig::eta {0.1}

The learning rate.

◆ gamma

real_t bitrl::rl::algos::td::DoubleQLearningConfig::gamma {0.99}

The discount factor.

◆ max_num_iterations_per_episode

uint_t bitrl::rl::algos::td::DoubleQLearningConfig::max_num_iterations_per_episode {100}

The most steps an episode can take.

◆ n_episodes

uint_t bitrl::rl::algos::td::DoubleQLearningConfig::n_episodes {100}

Not used; the trainer decides how many episodes to run.

◆ path

std::string bitrl::rl::algos::td::DoubleQLearningConfig::path {bitsim::consts::INVALID_STR}

Where to save the two tables when training ends; nothing is saved if it is not set.

◆ seed

uint_t bitrl::rl::algos::td::DoubleQLearningConfig::seed {42}

The seed of the coin that picks which table a step updates.

◆ tolerance

real_t bitrl::rl::algos::td::DoubleQLearningConfig::tolerance {1.0e-8}

Not used; the trainer decides when training stops.


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