bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
example_26::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

◆ gamma

◆ max_num_iterations_per_episode

◆ n_episodes

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

◆ path

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

◆ tolerance

Not used; the trainer decides when training stops.


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