set up reinforcement learning environment or initialize data logger object -凯发k8网页登录
set up reinforcement learning environment or initialize data logger object
since r2022a
description
when you define a custom training loop for reinforcement learning, you can
simulate an agent or policy against an environment using the runepisode
function. use the setup
function to configure the environment for running
simulations using multiple calls to runepisode
.
also use setup
to initialize a filelogger
or
monitorlogger
object before logging data within a custom training
loop.
environment objects
setup(
sets up the specified
reinforcement learning environment for running multiple simulations using
env
)runepisode
.
setup(
specifies nondefault configuration options using one or more name-value pair
arguments.env
,name=value
)
examples
input arguments
version history
introduced in r2022a