How to check the Q(s,a) value from a trained DQN agent?

4 ビュー (過去 30 日間)
Yichen Hu
Yichen Hu 2019 年 9 月 24 日
回答済み: Kajal Bansala 2021 年 3 月 10 日
I have trained a DQN agent using the new Reinforcement Learning toolbox. And I wonder if it's possible to check the Q value of a certain (s,a) pair?

回答 (1 件)

Kajal Bansala
Kajal Bansala 2021 年 3 月 10 日
Hello Yichen,
You can extract the 'rlQValueRepresentation' critic from the 'rlDQNAgent' using 'getCritic()'. From there you can use 'getValue()' to get the value for the observation. Here are my documentation page references:

カテゴリ

Help Center および File ExchangeReinforcement Learning についてさらに検索

製品


リリース

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by