Learn R Programming

reinforcelearn (version 0.2.1)

QLearning: Q-Learning

Description

Q-Learning algorithm.

Arguments

lambda

[numeric(1) in (0, 1)] Trace decay parameter.

traces

[character(1)] Type of eligibility trace update. One of c("replace", "accumulate").

Usage

makeAlgorithm("qlearning", lambda, traces)

Details

To use eligibility traces specify lambda and traces.

See Also

Eligibility

Examples

Run this code
# NOT RUN {
alg = makeAlgorithm("qlearning", lambda = 0.8, traces = "accumulate")
# }

Run the code above in your browser using DataLab