main content

environments -凯发k8网页登录

model the dynamics and output of a reinforcement learning environment

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

reinforcement learning toolbox™ provides predefined objects that implement different benchmark environments. you can also create your own environments using custom functions for the environment dynamics, modifying an existing environment template class, or using a simulink® model.

for an introduction to reinforcement learning environments, see reinforcement learning environments.

functions

rlfinitesetspeccreate specifications object for a finite-set action or observation channel (since r2019a)
rlnumericspeccreate specifications object for a numeric action or observation channel (since r2019a)
getactioninfoobtain action data specifications from reinforcement learning environment, agent, or experience buffer (since r2019a)
getobservationinfoobtain observation data specifications from reinforcement learning environment, agent, or experience buffer (since r2019a)
validateenvironmentvalidate custom reinforcement learning environment (since r2019a)
bus2rlspeccreate reinforcement learning data specifications for elements of a simulink bus (since r2019a)
creategridworldcreate a two-dimensional grid world for reinforcement learning (since r2019a)
createmdpcreate markov decision process model (since r2019a)
rlmdpenvcreate markov decision process environment for reinforcement learning (since r2019a)
rlpredefinedenvcreate a predefined reinforcement learning environment (since r2019a)
generaterewardfunctiongenerate a reward function from control specifications to train a reinforcement learning agent (since r2021b)
exteriorpenaltyexterior penalty value for a point with respect to a bounded region (since r2021b)
hyperbolicpenaltyhyperbolic penalty value for a point with respect to a bounded region (since r2021b)
barrierpenaltylogarithmic barrier penalty value for a point with respect to a bounded region (since r2021b)
rlfunctionenvcreate custom reinforcement learning environment using your reset and step functions (since r2019a)
rlmultiagentfunctionenvcreate custom multiagent reinforcement learning environment (since r2023b)
rlturnbasedfunctionenvcreate custom turn-based multiagent reinforcement learning environment (since r2023b)
rlcreateenvtemplatecreate custom reinforcement learning environment template (since r2019a)
rlsimulinkenvcreate environment object from a simulink model already containing agent and environment (since r2019a)
createintegratedenvcreate environment object from a simulink environment model that does not contain an agent block (since r2019a)
simulinkenvwithagentreinforcement learning environment with a dynamic model implemented in simulink (since r2019a)
bus2rlspeccreate reinforcement learning data specifications for elements of a simulink bus (since r2019a)
validateenvironmentvalidate custom reinforcement learning environment (since r2019a)
rlneuralnetworkenvironmentenvironment model with deep neural network transition models (since r2022a)
rlcontinuousdeterministictransitionfunctiondeterministic transition function approximator object for neural network-based environment (since r2022a)
rlcontinuousgaussiantransitionfunctionstochastic gaussian transition function approximator object for neural network-based environment (since r2022a)
rlcontinuousdeterministicrewardfunctiondeterministic reward function approximator object for neural network-based environment (since r2022a)
rlcontinuousgaussianrewardfunctionstochastic gaussian reward function approximator object for neural network-based environment (since r2022a)
rlisdonefunctionis-done function approximator object for neural network-based environment (since r2022a)
predictpredict next observation, next reward, or episode termination given observation and action input data (since r2022a)
evaluateevaluate function approximator object given observation (or observation-action) input data (since r2022a)
accelerateoption to accelerate computation of gradient for approximator object based on neural network (since r2022a)
resetreset environment, agent, experience buffer, or policy object (since r2022a)
setupset up reinforcement learning environment or initialize data logger object (since r2022a)
cleanupclean up reinforcement learning environment or data logger object (since r2022a)

blocks

rl agentreinforcement learning agent (since r2019a)

topics

introduction to reinforcement learning environments

grid world environments

predefined control system environments

custom matlab environments

custom simulink environments

load environments in reinforcement learning designer

网站地图