How to make the agent automatically pause after training to a certain number of turns
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Lin
el 26 de Oct. de 2023
Respondida: Emmanouil Tzorakoleftherakis
el 27 de Oct. de 2023
How to make the agent automatically pause after training to a certain number of turns.I want to stop the agent and then bring in the External action and then continue training
0 comentarios
Respuesta aceptada
Pratyush
el 26 de Oct. de 2023
Hi Lin,
I understand that you want to make the agent automatically pause after training to a certain number of turns.
To make the agent automatically pause after training for a certain number of turns in MATLAB, you can use the "TrainingOptions" object and set the MaxEpisodes or "MaxStepsPerEpisode" property to the desired number of turns.You can refer to the following document for more details on "rlTrainingOptions": https://in.mathworks.com/help/reinforcement-learning/ref/rl.option.rltrainingoptions.html#d126e72606
Más respuestas (1)
Emmanouil Tzorakoleftherakis
el 27 de Oct. de 2023
You can actually automate this process without having to stop training if you are using Simulink. There is an port 'Use external action' in the RL Agent block, so you can turn this into one when you want external actions to be considered.
0 comentarios
Ver también
Categorías
Más información sobre Training and Simulation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!