setup
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