知识卡片
表格学习更新动作价值
Q 学习观察从状态 s 采取动作 a 得到奖励 r 并进入 s′,以 r+γ·max Q(s′,·) 为更新目标。γ 折扣未来,α 决定本次拉近目标多少,终止状态的后续价值为零。行为可用[[随机探索与贪心分支]]探索,训练目标仍使用下一状态的贪心价值。表格方法适用于能枚举状态与动作的例子。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Reinforcement Learning · 查看原书依据
Code 9.1 learns the optimal Q-values for navigating the grid-world environment by using the Q-learning algorithm. The Q-values represent the expected future rewards for taking each action in each state, which can then be used to derive an optimal policy for reaching the goal
参考来源
- 位置:《Simplified Machine Learning: The Essential Building Blocks for Machine Learning Expertise》第 09 章《Reinforcement Learning》(`extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch09.xhtml`,book-source 项目,正文索引第 93 段)
- 结论依据:原文明确网格代码学习各状态、动作的值,并以图中公式和观察到的转移实现更新。
- 原始内容:Code 9.1 learns the optimal Q-values for navigating the grid-world environment by using the Q-learning algorithm. The Q-values represent the expected future rewards for taking each action in each state, which can then be used to derive an optimal policy for reaching the goal