← 返回卡片

原书出处

Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise

09 Reinforcement Learning

First Edition · 核验版本的摘录快照 · 导入于 2026-11-27T03:57:14.141Z

5 until convergence or a pre-defined number of iterations.

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

state. Code 9.1: Implementation of Q-learning method import numpy

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Simplified Machine Learningː The Essential Building Blocks for Machine Learning Expertise/_epub-src/OPS/ch09.xhtml

EPUB SHA-256:9f442c60f438c352dd1fee6496c7fb26e8e2c9df60cd14aff3493d89c24fd960