yawning_titan.agents.random.RandomAgent#
- class yawning_titan.agents.random.RandomAgent(action_space)[source]#
Bases:
object
A simple implementation of a Random Agent capable of randomly acting within anOpenAI Gym environment.
Note: Both act and predict methods are provided to fit with different tutorials online that use different terminology for the same thing.
Methods
Randomly sample an action from the action space.
Randomly sample an action from the action space.