The agent can learn the policy through the external action port in the RL Agent so that the agent mimics the output of the reference signal
4 views (last 30 days)
Show older comments
I created a DDPG agent that I wanted to learn from the output of an existing controller before training it later. So, I input the reference signal through the external action port, and set the use external action to 1 for training, when training, the output of the agent is the reference signal, but after the training. When I set the use external action to 0 for verification, the output of the agent is not the same as the reference signal, and the difference is a bit big. Does the external action port work with my idea? What should I do to realize my idea?
The figure below shows that when the external action is set to 0, the output of the trained agent is a red curve, and the reference signal is a green curve
0 Comments
Answers (1)
Emmanouil Tzorakoleftherakis
on 25 Sep 2023
It seems the agent started learning how to imitate the existing controller but needs more time. What does the Episode Manager look like? What is your reward signal?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!