Modify weights update rule of DDPG traning

조회 수: 2 (최근 30일)
Vu Thang
Vu Thang 2024년 9월 20일
댓글: Vu Thang 2024년 9월 24일
Currently, i have studied DDPG algorithm for my control project. I want to modify a bit in the weight update rule (gradient descent) to reduce the steady state error of system. How can i do this?

답변 (1개)

Shubham
Shubham 2024년 9월 22일
Hey Vu,
In order to make modifications in your gradient descent function, you can make changes in "rlOptimizerOptions" object as mentioned in the documentation for DDPG agent: https://www.mathworks.com/help/releases/R2023b/reinforcement-learning/ug/ddpg-agents.html
In order to make changes in the weight update rule,
  • modify the "LearnRate" to change the rate at which the the model is converged.
  • modify the "L2RegularizationFactor" to avoid overfitting.
Have a look at the "rlOptimizerOptions" for more details:
Happy coding!
  댓글 수: 1
Vu Thang
Vu Thang 2024년 9월 24일
Thank you for your comment. I have tried modify the 'LearnRate' but it seem not work, the steady state error still available. I want to add an Integral component to weight update rule as some papers suggest. Is there any way to do it?

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

카테고리

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

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by