Reinforcement learning agent does not perform any action in simulation after train
Show older comments
Data store memory blocks were added to prevent algebraic loop errors:

While training process, the scope shows active action signal (yellow):

But after training, in simulation, or running simulink model, the action or rl agent stay idle. Non zero, but constant:

What can be the cause?
How can i enable actions, when run simulink model?
Answers (1)
1 Comment
Anh Tran
on 21 Feb 2020
I can totally relate with you Alexey. Reward shaping plays a big role in the design of an RL agent. It would be great if you could share what reward function did you come up with to solve the task and how did you iterate to get a better function.
Categories
Find more on Reinforcement Learning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
