Deep Q-network reinforcement learning

2 ビュー (過去 30 日間)
Zhengcheng Dong
Zhengcheng Dong 2020 年 9 月 15 日
Using the rl agent provided by Matlab, How can I change the action set after each step or episode? Because I assume that the action cannot be repetitive.

採用された回答

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020 年 9 月 15 日
Hello,
The functionality to customize the action space is not yet available. A couple of workarounds:
1) Use penalties in the reward signal every time a repetitive action is selected. Make sure you use the previously selected action as an observation here. This may work but if the number of possible actions is small, it may interfere with exploration
2) Use a custom agent following the template guidelines here and here. You can subclass the provided DQN agent and set exploration and action selection as needed for your application.
  2 件のコメント
Zhengcheng Dong
Zhengcheng Dong 2020 年 9 月 18 日
Thank you for your answer and helpful suggestions.We tried your first method, and it seems to converge very slowly. We are now trying to creat a custom agent. Thank you again.
Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020 年 9 月 18 日
Happy to help. Here is another page that just went live with 20b release that should be helpful.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by