How to implement LSTM layers in MATLAB's DDPG agent
18 次查看(过去 30 天)
显示 更早的评论
jacob fontaine
2023-4-21
回答: Emmanouil Tzorakoleftherakis
2023-4-24
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
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!