Transient value problem of the variable in reward function of reinforcement learning
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Yihao Wan
le 22 Mar 2021
Commenté : Yihao Wan
le 23 Mar 2021
Hello, I encounted a problem when designing the reward function. In the simulink environment, I want to incorporate some variables in the reward function. During the training of RL agent, the varibles will converge after about 0.06s, while the agent is trained from 0s. The enable block doesn't help by putting the RL block in a subsystem.
From my understanding, it will influence the value reward function, which may result in poor trained agent. Does anyone have any suggestions regarding this questions?
Thank you very much.
0 commentaires
Réponse acceptée
Emmanouil Tzorakoleftherakis
le 22 Mar 2021
You can put the agent block under a triggered subsystem and set it to begin training after 0.06 seconds
5 commentaires
Emmanouil Tzorakoleftherakis
le 23 Mar 2021
I believe it should be 40 yes - there is a counter implemented internally that keeps track of how many times the RL Agent block will run
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Environments dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!