rlSARSAAgentOptions
Description
Use an rlSARSAAgentOptions
object to specify options for
creating SARSA agents. To create a SARSA agent, use rlSARSAAgent
For more information on SARSA agents, see SARSA Agents.
For more information on the different types of reinforcement learning agents, see Reinforcement Learning Agents.
Creation
Description
creates an
opt
= rlSARSAAgentOptionsrlSARSAAgentOptions
object for use as an argument when creating a SARSA
agent using all default settings. You can modify the object properties using dot
notation.
sets option properties using
name-value pairs. For example,
opt
= rlSARSAAgentOptions(Name,Value
)rlSARSAAgentOptions('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
rlSARSAAgent | SARSA reinforcement learning agent |
Examples
Version History
Introduced in R2019a