rlPGAgentOptions
Options for PG agent
Description
Use an rlPGAgentOptions
object to specify options when creating a
policy gradient (PG) agent. To create a PG agent, use rlPGAgent
For more information on PG agents, see REINFORCE Policy Gradient (PG) Agent.
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 object 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 object with a
discount factor of 0.95
. You can specify multiple name-value
arguments.
Properties
Object Functions
rlPGAgent | Policy gradient (PG) reinforcement learning agent |