Incorporate Time into Reinforcement Learning Environment

조회 수: 1 (최근 30일)
I am creating my own custom environemnt on MATLAB using the rlFunctionEnv function. I wanted to know whether I could somehow incorporate time into my envirnment when training it using a DQN as my environment needs to know the time at each time step. Is there a way to do this?

채택된 답변

Emmanouil Tzorakoleftherakis
Emmanouil Tzorakoleftherakis 2020년 7월 13일
편집: Emmanouil Tzorakoleftherakis 2020년 7월 13일
Time would be another parameter of your environment. Interactions between the agent and environment happen at discrete time steps, so you can create a variable and increase it by an amount equal to your agent's sample time. If you step function also includes numerical integration you could use the integration times as well.
  댓글 수: 1
Huzaifah Shamim
Huzaifah Shamim 2020년 7월 13일
Oh ok that makes sense! Thank You!
Can you please take a look at this questions that I had:

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

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by