QLearning: Q-Learning

Description Arguments Details Usage See Also Examples

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").

Details

To use eligibility traces specify lambda and traces.

Usage

makeAlgorithm("qlearning", lambda, traces)

See Also

Eligibility

Examples

1
alg = makeAlgorithm("qlearning", lambda = 0.8, traces = "accumulate")

Example output



reinforcelearn documentation built on May 2, 2019, 9:20 a.m.