Who it is for
For readers with Python and machine learning basics who want a structured introduction to reinforcement learning.
What you can learn
The book introduces agent-environment interaction, exploration and exploitation, Markov decision processes, Q-learning, policy gradients, PPO and DQN, with exercises and examples.
Try it first
Sketch a simple grid environment and define states, actions, rewards and termination. Record two trajectories, compare their cumulative rewards, then try a tabular method from the book.
Free access and conditions
The Chinese online text is free to read without signing in; the print edition is sold separately. Chapter 1 overgeneralizes delayed rewards and the ceiling of supervised learning: rewards can be immediate and models are not universally limited by an individual human’s performance. Some code requires specific software, and training or cloud compute may cost money.
Source and rights
The project identifies CC BY-NC-SA 4.0. This page links to the source and provides original guidance without mirroring the tutorial; check code and third-party material separately.
Source: Datawhale · Qi Wang, Yiyuan Yang, Ji Jiang
Related learning resources
- Hands-On Modern RL: From Classic Control to LLM Alignment — Study classic and deep reinforcement learning, then explore LLM alignment and agent training.
Continue learning: Free courses on AI MOOC