Reinforcement Learning - Access agent/training parameters while training

Hi,
I am writing to ask if there's anyway to access the agent or the training statistics during the training process?
For example, how can I extract the current reward of an episode in the training episode initialisation function?
Thank you.

Answers (1)

Normally, when you use the train function, it should open up the Reinforcement Learning Episode Manager. This tool allows you to see how the training is going. On the Episode Manager's chart, you can see the reward received for each training episode (EpisodeReward) and also the average reward value that's been calculated over a series of episodes (AverageReward).
Hope this helps.

Products

Release

R2021a

Asked:

on 4 Aug 2021

Answered:

on 20 Feb 2024

Community Treasure Hunt

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

Start Hunting!