q learning matlab,用Matlab实现简单的Q-learning算法(学习走出房间)
看到一个简单有趣的Q learning例子,写了段matlab代码实现一下。有兴趣的请先阅读原文 链接dbstop if error%stop at the error if it happens%Initializationepisode_num = 100;%Iteration time of explorationstate_num = 6;%Room number (including t...