setActor

Syntax

Description

newAgent = setActor(oldAgent,actor)
returns a new reinforcement learning agent, newAgent, that uses the
specified actor representation. Apart from the actor representation, the new agent has the
same configuration as the specified original agent, oldAgent.

Output Arguments

Updated reinforcement learning agent, returned as an agent object that uses the
specified actor representation. Apart from the actor representation, the new agent has
the same configuration as oldAgent.

This website uses cookies to improve your user experience, personalize content and ads, and analyze website traffic. By continuing to use this website, you consent to our use of cookies. Please see our Privacy Policy to learn more about cookies and how to change your settings.