rlSARSAAgentOptions
Options for SARSA agent
Description
Use an rlSARSAAgentOptions
object to specify options when
creating a SARSA agent. To create a SARSA agent, use rlSARSAAgent
For more information on SARSA agents, see SARSA Agent.
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.
creates the options object opt
= rlSARSAAgentOptions(Name=Value
)opt
and sets its properties using one
or more name-value arguments. For example,
rlSARSAAgentOptions(DiscountFactor=0.95)
creates an option set with a
discount factor of 0.95
. You can specify multiple name-value
arguments.
Properties
Object Functions
rlSARSAAgent | SARSA reinforcement learning agent |
Examples
Version History
Introduced in R2019a