Effacer les filtres
Effacer les filtres

Incorporate Time into Reinforcement Learning Environment

1 vue (au cours des 30 derniers jours)
Huzaifah Shamim
Huzaifah Shamim le 10 Juil 2020
Commenté : Huzaifah Shamim le 13 Juil 2020
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?

Réponse acceptée

Emmanouil Tzorakoleftherakis
Modifié(e) : Emmanouil Tzorakoleftherakis le 13 Juil 2020
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 commentaire
Huzaifah Shamim
Huzaifah Shamim le 13 Juil 2020
Oh ok that makes sense! Thank You!
Can you please take a look at this questions that I had:

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by