Transient value problem of the variable in reward function of reinforcement learning
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello, I encounted a problem when designing the reward function. In the simulink environment, I want to incorporate some variables in the reward function. During the training of RL agent, the varibles will converge after about 0.06s, while the agent is trained from 0s. The enable block doesn't help by putting the RL block in a subsystem.
From my understanding, it will influence the value reward function, which may result in poor trained agent. Does anyone have any suggestions regarding this questions?
Thank you very much.
댓글 수: 0
채택된 답변
Emmanouil Tzorakoleftherakis
2021년 3월 22일
You can put the agent block under a triggered subsystem and set it to begin training after 0.06 seconds
댓글 수: 5
Emmanouil Tzorakoleftherakis
2021년 3월 23일
I believe it should be 40 yes - there is a counter implemented internally that keeps track of how many times the RL Agent block will run
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Environments에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!