rlQAgentOptions
Options for Q-learning agent
Description
Use an rlQAgentOptions
object to specify options when creating a
Q-learning agent. To create a Q-learning agent, use rlQAgent
.
For more information on Q-learning agents, see Q-Learning Agent.
For more information on the different types of reinforcement learning agents, see Reinforcement Learning Agents.
Creation
Description
creates an
opt
= rlQAgentOptionsrlQAgentOptions
object for use as an argument when creating a
Q-learning agent using all default settings. You can modify the object properties using
dot notation.
creates the options object opt
= rlQAgentOptions(Name=Value
)opt
and sets its properties using one
or more name-value arguments. For example,
rlQAgentOptions(DiscountFactor=0.95)
creates an option set with a
discount factor of 0.95
. You can specify multiple name-value
arguments.
Properties
Object Functions
rlQAgent | Q-learning reinforcement learning agent |
Examples
Version History
Introduced in R2019a