powered by
Q-Learning algorithm.
[numeric(1) in (0, 1)] Trace decay parameter.
numeric(1)
[character(1)] Type of eligibility trace update. One of c("replace", "accumulate").
character(1)
c("replace", "accumulate")
makeAlgorithm("qlearning", lambda, traces)
To use eligibility traces specify lambda and traces.
lambda
traces
Eligibility
# NOT RUN { alg = makeAlgorithm("qlearning", lambda = 0.8, traces = "accumulate") # }
Run the code above in your browser using DataLab