How do I define a continuous reward function for RL environment?
조회 수: 10 (최근 30일)
이전 댓글 표시
Prashanth Chivkula
2020년 10월 5일
댓글: Emmanouil Tzorakoleftherakis
2020년 10월 12일
I am trying to follow the double integrator example for giving a continuous reward function. When I used the custom template, and defined the reward using the QR cost function, I get an error stating that the reward should be a scalar value. Where can I find the property of reward and change it to accept vector values?
댓글 수: 3
채택된 답변
Priysha LNU
2020년 10월 8일
Here is an excerpt from the documentation :
To guide the learning process, reinforcement learning uses a scalar reward signal generated from the environment.
For detailed information on defining reward signals, discrete and continous rewards, please refer to this documentation link.
댓글 수: 0
추가 답변 (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!