How do I set initial condition for a trained Reinforcement Learning agent (RL Agent)?
Mostrar comentarios más antiguos
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 comentarios
Andrea Torcianti
el 5 de Abr. de 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
el 11 de Abr. de 2022
Shah Fahad
el 27 de Mayo de 2023
Could you please comment on how did you set the initial condition of actions from the code ?
Thank you.
Abraao Tanan
el 27 de Mayo de 2023
Shah Fahad
el 29 de Mayo de 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.
Respuestas (0)
Categorías
Más información sobre Reinforcement Learning en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!