How to implement LSTM layers in MATLAB's DDPG agent

16 ビュー (過去 30 日間)
jacob fontaine
jacob fontaine 2023 年 4 月 21 日
I am trying to include LSTM layers in my DDPG agent to compensate for modeling in a non-markovian environment. I would assume I would add them in both the actor and critic networks and was wondering if MATLAB's DDPG algorithm would automatically handle the change to R-DDPG and if not, I would appreciate insight on the process of modifying the current algorithm (on the MATLAB side of modifying the algorithm to what I want).
Thank you

採用された回答

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023 年 4 月 24 日
Hello,
You can use lstm layers directly in both actors and critics and the built-in DDPG agent will handle the rest. Take a look here:

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by