Reinforcement Learning Episode Manager

After training has finished, If I close the "Reinforcement Learning Episode Manager" window, how do I reopen it ??

1 个评论

In MATLAB 2021a and above you can use the inspectTrainingResult function to do this as follows
trainingStats = train(agent,env,trainOpts);
inspectTrainingResult(trainingStats)

请先登录,再进行评论。

 采纳的回答

Hi Ahmad,
It is not possible to reopen the Episode Manager after closing it. The graphical window is triggered only when you run a function like train. The windows is destroyed once you close it. If you want to access specific training variables like EpisodeReward, TrainingSteps, you can get them in the workspace as output arguments.
Hope this helps.

3 个评论

To add to this answer, starting in R2020b, there is a method you can use to recreate the Episode Manager graph using the output arguments mentioned above
rlPlotTrainingResults(stats)
Thanks for the info! any news on when R2020b will roll out ?
Hello!
The following line doesn't work for me:
rlPlotTrainingResults(trainingStats)
I get the follwing error:
Unrecognized function or variable
'rlPlotTrainingResults'.
I would prefer using it instead of inspectTrainingResult() function, since I would like to plot it in a live script (and not open it in a new window).
Any Idea, please?

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Reinforcement Learning Toolbox 的更多信息

产品

版本

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by