validate custom reinforcement learning environment -凯发k8网页登录
validate custom reinforcement learning environment
since r2019a
syntax
description
validateenvironment(
validates a
reinforcement learning environment. this function is useful when:env
)
you create a custom environment from a template class using
rlcreateenvtemplate
.you create a custom simulink® environment using
rlsimulinkenv
orcreateintegratedenv
.
when you create a custom environment using rlfunctionenv
or
rlneuralnetworkenvironment
, the software runs
validateenvironment
automatically after creating the environment
object.
validateenvironment
resets the environment, generates an initial
observation and action, and simulates the environment for one or two steps (see algorithms). if there are no errors
during these operations, validation is successful, and
validateenvironment
returns no result. if errors occur, these errors
appear in the matlab® command window. use the errors to determine what to change in your observation
specification, action specification, custom functions, or simulink model.
examples
input arguments
algorithms
version history
introduced in r2019a