Reinforcement learning: "NextObs" vs. "LoggedState" in step function

조회 수: 2 (최근 30일)
Anne Tscheliessnig
Anne Tscheliessnig 2020년 7월 27일
댓글: Maha Mosalam 2021년 11월 22일
Hi,
I could not find out what the difference between "NextObs" and "LoggedSignals" is in the step function. In all scripts both are passed on from the step function.
[NextObs,Reward,IsDone,LoggedSignals] = myStepFunction(Action,LoggedSignals)
"LoggedSignals" is obviously used for the next step, but what is "NextObs" used for?
Thanks!

답변 (1개)

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020년 7월 27일
Actually, NextObs is the important thing here. It represents the value of your states after you apply current action and integrating one step.
LoggedSignals is where you can log information to view later - can be left empty too.
  댓글 수: 4
lfyx
lfyx 2021년 11월 1일
Hello, may I ask that, can the "sim" function output the LoggedSignals to the work space? Many information about the simulation action or observarion are saved in the LoggedSignals. However, the output of "sim" is the experince structure.
Maha Mosalam
Maha Mosalam 2021년 11월 22일
Hi, what about the xact role of IsDone flag it it shuld be true or false or what?

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

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by