rlQAgentOptions
Description
Use an rlQAgentOptions
object
to specify options for creating Q-learning agents. To create a Q-learning agent, use rlQAgent
For more information on Q-learning agents, see Q-Learning Agents.
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.
sets
option properties using
name-value pairs. For example, opt
= rlQAgentOptions(Name,Value
)rlQAgentOptions('DiscountFactor',0.95)
creates an option set with a discount factor of 0.95
. You can specify
multiple name-value pairs. Enclose each property name in quotes.
Properties
Object Functions
rlQAgent | Q-learning reinforcement learning agent |
Examples
Version History
Introduced in R2019a