Reinforcement learning/Experiecne buffer/Simulink

조회 수: 6 (최근 30일)
hieu nguyen
hieu nguyen 2023년 5월 5일
댓글: hieu nguyen 2023년 5월 6일
I am trying to create a experience buffer for my DDPG algorithm in Simulink. However, I can't find anyway or blocks to help me create a experience buffer to store (state,action,reward,next state) in simulink.
I have tried to create a experience buffer by rl.util.ExperienceBuffer in Matlab function but here is my code and the error
I hope you can help me deal with this problem. Thank you verry much!

답변 (1개)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2023년 5월 5일
Why do you want to create your own buffer? If you are using the built-in DDPG agent, the buffer is created automatically for you. In any case, in 22a we added a feature that allows you to create your own experience buffer (see here). You can potentially use this to manually modify the experience buffer of a built-in agent.
  댓글 수: 1
hieu nguyen
hieu nguyen 2023년 5월 6일
Actually, I want create my own DDPG agent with my own neural network structure and my own optimizer algorithm in Simulink. I have tried to do that with built-in DDPG agent and custom agent but it is quite difficult so I decide to built everything by myself in Simulink with Matlab function.Now, the only problem I have is creating a experience buffer to store and batch data.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by