会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
g
y
7
7
7
7
一届书生
本博客所有内容以学习、研究和分享为主,如需转载,请标明作者和出处,并且是非商业用途,谢谢。
新随笔
联系
管理
2020年11月19日
Sarsa模型和Q_learning模型简记
摘要: 1. Sarsa模型 1.1 Sarsa类代码: class SarsaAgent(object): def __init__(self,state_n,action_n,learning_rate=0.01,gamma=0.9,e_greed=0.1): """ :param state_n:状态
阅读全文
posted @ 2020-11-19 17:18 gy77
阅读(274)
评论(0)
推荐(0)
编辑
公告