How to save state in reinforcement learning
조회 수: 5 (최근 30일)
이전 댓글 표시
I wanna know the way to save information of agent's state in reinforcement learning.
댓글 수: 0
답변 (1개)
Harsh
2025년 1월 23일
Hi Ryunosuke,
To save an agent while training you can use “SaveAgentCriteria”, “SaveAgentValue” and “SaveAgentDirectory” properties of “rlTrainingOptions” object to control when and where to save an agent while training.
“SaveAgentCriteria” is used to specify the condition for saving agents during training. “SaveAgentValue” is used to specify the critical value of condition for saving agents. “SaveAgentDirectory” is used to specify the directory for saved agents.
Please refer to the following documentation to understand more regarding “rlTrainingOptions” object and its properties - https://www.mathworks.com/help/reinforcement-learning/ref/rl.option.rltrainingoptions.html?s_tid=doc_ta
After training your agent, you can save it using the “save” function. Please refer to the following MATLAB answer for more information - https://www.mathworks.com/matlabcentral/answers/816585-saving-trained-rl-agent-after-training
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!