rlSARSAAgent
撒尔沙reinforcement learning agent
Description
The SARSA algorithm is a model-free, online, on-policy reinforcement learning method. A SARSA agent is a value-based reinforcement learning agent which trains a critic to estimate the return or future rewards.
For more information on SARSA agents, seeSARSA Agents.
For more information on the different types of reinforcement learning agents, seeReinforcement Learning Agents.
Creation
Description
creates a SARSA agent with the specified critic network and sets theagent
= rlSARSAAgent(critic
,agentOptions
)AgentOptions
property.
Input Arguments
Properties
Object Functions
train |
Train reinforcement learning agents within a specified environment |
sim |
Simulate trained reinforcement learning agents within specified environment |
getAction |
Obtain action from agent or actor given environment observations |
getActor |
Get actor from reinforcement learning agent |
setActor |
Set actor of reinforcement learning agent |
getCritic |
Get critic from reinforcement learning agent |
setCritic |
Set critic of reinforcement learning agent |
generatePolicyFunction |
Create function that evaluates trained policy of reinforcement learning agent |