rlPGAgentOptions
Description
Use an rlPGAgentOptions
object to specify options for policy
gradient (PG) agents. To create a PG agent, use rlPGAgent
For more information on PG agents, see Policy Gradient (PG) Agents.
For more information on the different types of reinforcement learning agents, see Reinforcement Learning Agents.
Creation
Description
creates an
opt
= rlPGAgentOptionsrlPGAgentOptions
object for use as an argument when creating a PG agent
using all default settings. You can modify the object properties using dot
notation.
creates the options set opt
= rlPGAgentOptions(Name=Value
)opt
and sets its properties using one
or more name-value arguments. For example,
rlPGAgentOptions(DiscountFactor=0.95)
creates an options set with a
discount factor of 0.95
. You can specify multiple name-value
arguments.
Properties
Object Functions
rlPGAgent | Policy gradient (PG) reinforcement learning agent |