学習時のログの取り出しに関して
4 views (last 30 days)
Show older comments
reinforcement learning toolboxを使用して学習を行っています.
学習時に
trainingStats = train(agent,env,trainingOpts);
を実行して学習を行っているのですが,学習中の状態,行動,報酬の遷移履歴を確認する方法はないのでしょうか?
よろしくお願いいたします.
4 Comments
Toshinobu Shintai
on 1 May 2020
確認ですが、学習の設定「rlTrainingOptions」を使ってSave Agentを設定されていますでしょうか。
例えば、以下のようにすると、学習途中の全てのAgentを記録できます。
trainingOpts = rlTrainingOptions(...
'SaveAgentCriteria','EpisodeReward',...
'SaveAgentValue',-inf);
記録した情報は「savedAgents」というフォルダにmatファイルとして格納されています。
これには含まれていない情報が知りたいということでしょうか。
Answers (0)
See Also
Categories
Find more on Training and Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!