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

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