Learn R Programming

ReinforcementLearning (version 1.0.5)

epsilonGreedyActionSelection: Performs \(\varepsilon\)-greedy action selection

Description

Deprecated. Please use [ReinforcementLearning::selectEpsilonGreedyAction()] instead.

Usage

epsilonGreedyActionSelection(Q, state, epsilon)

Arguments

Q

State-action table of type hash.

state

The current state.

epsilon

Exploration rate between 0 and 1.

Value

Character value defining the next action.

References

Sutton and Barto (1998). "Reinforcement Learning: An Introduction", MIT Press, Cambridge, MA.