How to get the history action value of reinforcement learning agent

4 views (last 30 days)
I want to get the action value of reinforcement learning agent during each traning episode and try to figure out if the action is optimized during the traning. Is there a way to get the action value? Thank you very much.

Accepted Answer

Emmanouil Tzorakoleftherakis
Not exactly sure what you mean. During training the RL algorithms are already doing inference. You can use getAction and getValue if you want do do inference yourself. Would that work?
  5 Comments
hamad alduaij
hamad alduaij on 7 May 2021
How do we obtain the log using RL toolbox not simulink? If I needed to know the action, state value of the system during the training process.

Sign in to comment.

More Answers (0)

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!