rlQAgentOptions
Options for Q-learning agent
Description
Use anrlQAgentOptions
object to specify options for creating Q-learning agents. To create a Q-learning agent, userlQAgent
For more information on Q-learning agents, seeQ-Learning Agents.
For more information on the different types of reinforcement learning agents, seeReinforcement Learning Agents.
Creation
Description
creates anopt
= 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 optionpropertiesusing name-value pairs. For example,opt
= rlQAgentOptions(Name,Value
)rlQAgentOptions('DiscountFactor',0.95)
creates an option set with a discount factor of0.95
. You can specify multiple name-value pairs. Enclose each property name in quotes.
Properties
Object Functions
rlQAgent |
Q-learning reinforcement learning agent |