打开主菜单
首页
随机
登录
设置
关于集智百科 - 复杂系统|人工智能|复杂科学|复杂网络|自组织
免责声明
集智百科 - 复杂系统|人工智能|复杂科学|复杂网络|自组织
搜索
更改
←上一编辑
下一编辑→
Deep Q Network
(查看源代码)
2025年6月16日 (一) 21:59的版本
添加1字节
、
2025年6月16日 (一) 21:59
→具体算法及其训练流程
第118行:
第118行:
**随机采样:从<math>D</math>中均匀抽取小批量转移<math>(ϕ_{j},a_{j},r_{j},ϕ_{j+1})</math>。
**随机采样:从<math>D</math>中均匀抽取小批量转移<math>(ϕ_{j},a_{j},r_{j},ϕ_{j+1})</math>。
**目标<math>Q</math>值计算: <math> y_{j} = r_{j} + γ max _{a} Q^{-}(ϕ_{j+1}, a) </math>
**目标<math>Q</math>值计算: <math> y_{j} = r_{j} + γ max _{a} Q^{-}(ϕ_{j+1}, a) </math>
−
**[https://baike.baidu.com/item/梯度下降?fromModule=lemma_search-box 梯度下降]: <math> ∇_{θ} 1/ {|B|} ∑(y_j-Q(ϕ_j,a_j;θ)^2 </math> ,B为batch数据
+
**[https://baike.baidu.com/item/梯度下降?fromModule=lemma_search-box 梯度下降]: <math> ∇_{θ} 1/ {|B|} ∑(y_j-Q(ϕ_j,a_j;θ
)
)^2 </math> ,B为batch数据
*目标网络同步:每隔<math>C</math>步将主网络参数<math>θ</math>复制至目标网络<math>Q^{-}</math>,即<math>θ^{-}←θ</math>。
*目标网络同步:每隔<math>C</math>步将主网络参数<math>θ</math>复制至目标网络<math>Q^{-}</math>,即<math>θ^{-}←θ</math>。
DeepQ
281
个编辑