How to implement LSTM layers in MATLAB's DDPG agent
18 views (last 30 days)
Show older comments
jacob fontaine
on 21 Apr 2023
Answered: Emmanouil Tzorakoleftherakis
on 24 Apr 2023
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 Comments
Accepted Answer
Emmanouil Tzorakoleftherakis
on 24 Apr 2023
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 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!