How to use the reinforcement learning toolbox in Matlab to implement delayed reward
古いコメントを表示
I want to implement delayed reward with matlab code. For example, I need to wait until the end of my current episode before giving the reward for each action in this episode. How can I achieve this?
採用された回答
その他の回答 (1 件)
MOHAMMADREZA
2025 年 3 月 5 日
0 投票
Hi, I am having the same problem. Hwever, I am using the Matlab heper (class) for environment. I do not know how to handle reward so that at the end of episode the reward is used for updating the parameters. More specifically, when using class template, I have step, reset,... functions. when the parameters is updated? is it after running step function? I wrote the reward in the step function. but I need to update the parameters only at the end of episode.
カテゴリ
ヘルプ センター および File Exchange で Reinforcement Learning についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!