main content

matlab environments -凯发k8网页登录

model reinforcement learning environment dynamics using matlab®

in a reinforcement learning scenario, the environment models the dynamics with which the agent interacts. the environment:

  1. receives actions from the agent

  2. outputs observations resulting from the dynamic behavior of the environment model

  3. generates a reward measuring how well the action contributes to achieving the task

you can create predefined and custom environments in matlab. for more information, see .

functions

rlpredefinedenvcreate a predefined reinforcement learning environment
rlfunctionenvspecify custom reinforcement learning environment dynamics using functions
rlcreateenvtemplatecreate custom reinforcement learning environment template
rlmdpenvcreate markov decision process environment for reinforcement learning
createmdpcreate markov decision process model
creategridworldcreate a two-dimensional grid world for reinforcement learning
validateenvironmentvalidate custom reinforcement learning environment
generaterewardfunctiongenerate a reward function from control specifications to train a reinforcement learning agent
exteriorpenaltyexterior penalty value for a point with respect to a bounded region
hyperbolicpenaltyhyperbolic penalty value for a point with respect to a bounded region
barrierpenaltylogarithmic barrier penalty value for a point with respect to a bounded region
rlneuralnetworkenvironmentenvironment model with deep neural network transition models
rlcontinuousdeterministictransitionfunctiondeterministic transition function approximator object for neural network-based environment
rlcontinuousgaussiantransitionfunctionstochastic gaussian transition function approximator object for neural network-based environment
rlcontinuousdeterministicrewardfunctiondeterministic reward function approximator object for neural network-based environment
rlcontinuousgaussianrewardfunctionstochastic gaussian reward function approximator object for neural network-based environment
rlisdonefunctionis-done function approximator object for neural network-based environment
predictpredict next observation, next reward, or episode termination given observation and action input data
evaluateevaluate function approximator object given observation (or observation-action) input data
accelerateoption to accelerate computation of gradient for approximator object based on neural network
rlfinitesetspeccreate discrete action or observation data specifications for reinforcement learning environments
rlnumericspeccreate continuous action or observation data specifications for reinforcement learning environments
getactioninfoobtain action data specifications from reinforcement learning environment, agent, or experience buffer
getobservationinfoobtain observation data specifications from reinforcement learning environment, agent, or experience buffer
resetreset environment, agent, experience buffer, or policy object
setupset up reinforcement learning environment or initialize data logger object
cleanupclean up reinforcement learning environment or data logger object

topics


  • model environment dynamics using a matlab object that interacts with the agent, generating rewards and observations in response to agent actions.


  • import a custom matlab environment or create a predefined matlab environment.


  • create a reward signal that measures how successful the agent is at achieving its goal.


  • load predefined matlab control system environments.

  • load predefined grid world environments

    train agents in predefined matlab grid world environments for which the actions, observations, and rewards are already defined.

  • create custom grid world environments

    create custom matlab grid world environments by defining your own size, rewards and obstacles.


  • create a reinforcement learning environment by supplying custom dynamic functions.


  • define a custom reinforcement learning environment by creating and modifying a template environment object.

网站地图