How do I set initial condition for a trained Reinforcement Learning agent (RL Agent)?
Ältere Kommentare anzeigen
I have a trained Reinforcement Learning (RL) agent that I want to apply as a controller of a tank. Actually it is the same as the MATLAB example "Create Simulink Environment and Train Agent", which controls a Water Tank. I have modified the reward function and some other criterias. Now it is trained and working well, although I cannot change the initial action of the agent. It is causing problems because it initiates with an incorrect action.
In the PID block, for example, I can set the initialization parameter and make the controller initial in steady state, but I cannot do the same for RL agent.
Can anyone help with it?
5 Kommentare
Andrea Torcianti
am 5 Apr. 2022
unfortunately I am not able to answer your question, as matter of fact I have a very similar problem! were you able to figure out a solution? If yes, how?
Abraao Tanan
am 11 Apr. 2022
Shah Fahad
am 27 Mai 2023
Could you please comment on how did you set the initial condition of actions from the code ?
Thank you.
Abraao Tanan
am 27 Mai 2023
Shah Fahad
am 29 Mai 2023
@Abraao Tanan Thank you for your answer. This approach could work depending on the type of application. For me, I am looking for a more generic way of initializing it. I don't know why python is able to do it but not MATLAB.
Antworten (0)
Kategorien
Mehr zu Reinforcement Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!