setLearnableParameters
Set learnable parameter values of agent, function approximator, or policy object
Syntax
Description
Agent
Actor or Critic
returns a new actor or critic function approximator object,
newFcnAppx
= setLearnableParameters(oldFcnAppx
,params
)newFcnAppx
, with the same structure as the original function
approximator object, oldFcnAppx
, and the learnable parameter values
specified in params
. This syntax is equivalent to
fcnAppx.Learnables=params
.
Policy
returns a new policy object, newPolicy
= setLearnableParameters(oldPolicy
,params
)newPolicy
, with the same structure as
the original function approximator object, oldFcnAppx
, and the
learnable parameter values specified in params
.
Examples
Input Arguments
Output Arguments
Tips
You can also obtain and modify the learnable parameters function approximation objects such as actors and critics by accessing their
Learnables
property, using dot notation.