Random Agent
- class or_suite.agents.rl.random.randomAgent[source]
Randomized RL Algorithm
Implements the randomized RL algorithm - selection an action uniformly at random from the action space. In particular, the algorithm stores an internal copy of the environment’s action space and samples uniformly at random from it.
- pick_action(obs, h)[source]
Selects an action for the algorithm.
- Parameters
obs – a state for the environment
h – timestep
- Returns
An action sampled uniformly at random from the environment’s action space.