rlAgentInitializationOptions
Description
Use the rlAgentInitializationOptions
object to specify
initialization options for an agent. To create an agent, use an agent creation function such
as rlACAgent
.
Creation
Description
creates a default options object for initializing a reinforcement learning agent with
default networks. Use the initialization options to specify agent initialization
parameters, such as the number of units for each hidden layer of the agent networks and
whether to use a recurrent neural network.initOpts
= rlAgentInitializationOptions
creates an initialization options object and sets its properties using one
or more name-value arguments.initOpts
= rlAgentInitializationOptions(Name=Value
)
Properties
Object Functions
rlACAgent | Actor-critic (AC) reinforcement learning agent |
rlPGAgent | Policy gradient (PG) reinforcement learning agent |
rlDDPGAgent | Deep deterministic policy gradient (DDPG) reinforcement learning agent |
rlDQNAgent | Deep Q-network (DQN) reinforcement learning agent |
rlPPOAgent | Proximal policy optimization (PPO) reinforcement learning agent |
rlTD3Agent | Twin-delayed deep deterministic (TD3) policy gradient reinforcement learning agent |
rlSACAgent | Soft actor-critic (SAC) reinforcement learning agent |
rlTRPOAgent | Trust region policy optimization (TRPO) reinforcement learning agent |
Examples
Version History
Introduced in R2020b
See Also
Functions
normalize
|setNormalizer
|getNormalizer
|getActor
|setActor
|getCritic
|setCritic
|evaluate
Objects
rlACAgent
|rlPGAgent
|rlDDPGAgent
|rlDQNAgent
|rlPPOAgent
|rlTD3Agent
|rlSACAgent
|rlTRPOAgent
|rlNormalizer