学習時のログの取り出しに関して
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
reinforcement learning toolboxを使用して学習を行っています.
学習時に
trainingStats = train(agent,env,trainingOpts);
を実行して学習を行っているのですが,学習中の状態,行動,報酬の遷移履歴を確認する方法はないのでしょうか?
よろしくお願いいたします.
4 commentaires
Toshinobu Shintai
le 1 Mai 2020
確認ですが、学習の設定「rlTrainingOptions」を使ってSave Agentを設定されていますでしょうか。
例えば、以下のようにすると、学習途中の全てのAgentを記録できます。
trainingOpts = rlTrainingOptions(...
'SaveAgentCriteria','EpisodeReward',...
'SaveAgentValue',-inf);
記録した情報は「savedAgents」というフォルダにmatファイルとして格納されています。
これには含まれていない情報が知りたいということでしょうか。
Réponses (0)
Voir également
Catégories
En savoir plus sur Training and Simulation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!