Export Q-Table from rlAgent
3 次查看(过去 30 天)
显示 更早的评论
Hello,
I was trying out the example for a Q-Table based Reinforcement Learning agent as per MathWorks example.
Now after training, I'd like to export/visualize the resulting Q-Table. I inspected the resulting agent, but I'm not able to extract the Q-Table from it.
Is this even possible? If so, how? Or do I manually have to sample throw all states to reverse engineer the table?
Thank you!
0 个评论
采纳的回答
Emmanouil Tzorakoleftherakis
2021-3-26
Here is an example
load('basicGWQAgent.mat','qAgent')
critic = getCritic(qAgent);
tableObj = getModel(critic);
table = tableObj.Table
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!