← Directory

Pumpkin Book

Open Source
★ 25,849 • Updated Aug 15, 2026, 07:20 PM

Pumpkin Book is an open-source companion guide to the popular Chinese machine learning textbook 'Machine Learning' (often called the Watermelon Book) by Zhou Zhihua.

Use Cases ▼
01

Self-studying machine learning theory using the Watermelon Book

02

Clarifying difficult mathematical derivations in ML algorithms

03

Preparing for machine learning exams or interviews

04

Supplementing university courses that use the Watermelon Book as textbook

05

Reference for researchers needing quick formula explanations

06

Contributing to an open-source educational project

What Problem It Solves ▼

The Pumpkin Book addresses the common challenge of understanding the rigorous mathematical derivations in Zhou Zhihua's 'Machine Learning' textbook. By providing detailed formula explanations and step-by-step derivations, it helps readers who are stuck on complex equations to grasp the underlying principles and proceed with their learning.

Key Features ▼
✓

Free and open source

✓

Detailed step-by-step formula derivations

✓

Directly complements the popular Watermelon Book

✓

Community-maintained with contributions and corrections

✓

Covers a wide range of ML topics

Overview

Pumpkin Book is an open-source companion guide to the popular Chinese machine learning textbook 'Machine Learning' (often called the Watermelon Book) by Zhou Zhihua. It provides detailed, step-by-step derivations and explanations of the mathematical formulas and equations found in the textbook, helping readers overcome the mathematical barriers commonly encountered when studying machine learning theory. The project is maintained by Datawhale, an open-source learning community, and hosted on GitHub. The content is primarily written in LaTeX and Markdown, and organized by chapters corresponding to the original book. It covers a wide range of topics including linear models, decision trees, neural networks, support vector machines, Bayesian classifiers, clustering, and more. The guide is intended for students, researchers, and practitioners who are using the Watermelon Book as their primary learning resource. It aims to make complex derivations accessible by breaking down each formula into smaller steps, adding annotations, and referencing additional materials where necessary. Because the original textbook is in Chinese, the Pumpkin Book is also primarily in Chinese, which may limit its audience to Chinese-speaking learners. As an open-source project, the Pumpkin Book encourages community contributions, corrections, and discussions. It has become a popular reference among Chinese-speaking machine learning learners and is often used in conjunction with university courses and self-study.

Pros & Cons

Pros

+

Free and open source

+

Detailed step-by-step formula derivations

+

Directly complements the popular Watermelon Book

+

Community-maintained with contributions and corrections

+

Covers a wide range of ML topics

Cons

−

Content is primarily in Chinese

−

Not a standalone course; assumes access to the textbook

−

No interactive exercises or code examples

−

Quality may vary across chapters due to community contributions

Similar Tools

d2l.ai (Dive into Deep Learning) fast.ai Machine Learning Yearning CS229 Lecture Notes Deep Learning Book Companion Elements of Statistical Learning

More in AI/ML