Make reinforcement learning algorithm.

makeAlgorithm(class, args = list(), ...)

Arguments

class

[character(1)] Algorithm. One of c("qlearning").

args

[list] Optional list of named arguments passed on to the subclass. The arguments in ... take precedence over values in this list. We strongly encourage you to use one or the other to pass arguments to the function but not both.

...

[any] Optional named arguments passed on to the subclass. Alternatively these can be given using the args argument.

Representations

Examples

alg = makeAlgorithm("qlearning")