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

The configuration of ExpectedSarsaSolver. More...

#include <expected_sarsa.h>

Public Attributes

uint_t n_episodes {100}
 Not used; the trainer decides how many episodes to run.
real_t tolerance {1.0e-8}
 Not used; the trainer decides when training stops.
real_t gamma {1.0}
 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.
std::string path {bitsim::consts::INVALID_STR}
 Where to save the table when training ends; nothing is saved if it is not set.

Detailed Description

The configuration of ExpectedSarsaSolver.

Member Data Documentation

◆ eta

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

The learning rate.

◆ gamma

real_t bitrl::rl::algos::td::ExpectedSarsaConfig::gamma {1.0}

The discount factor.

◆ max_num_iterations_per_episode

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

The most steps an episode can take.

◆ n_episodes

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

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

◆ path

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

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

◆ tolerance

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

Not used; the trainer decides when training stops.


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