可爱衬衫

文章
4
资源
0
加入时间
3年1月28天

MATLAB中Reinforcement Learning Toolbox的使用教程1

MATLAB提供了Reinforcement Learning Toolbox可以方便地建立二维基础网格环境、设置起点、目标、障碍,以及各种agent模型1.Q-learning的训练简单实现%% 布置环境硬件GW = createGridWorld(6,6);GW.CurrentState = '[6,1]';GW.TerminalStates = '[2,5]';GW.ObstacleStates = ["[2,3]";"[2,4]";"[3