Pumpkin Book (南瓜书) is a community-authored companion to Zhou Zhihua's "Machine Learning" (西瓜书/Watermelon Book). It provides detailed derivations and explanations for formulas that the original textbook leaves as exercises. The content assumes the Watermelon Book as prerequisite knowledge and targets learners who want deeper mathematical understanding. It is available as a free online resource, downloadable PDF, video tutorials, and a printed edition.
# open datawhalechina/pumpkin-book and follow its README
datawhalechina/pumpkin-book is a third-party open-source project, listed here from public GitHub data. ImuTechz did not write it and has not reviewed or security-audited its code. Read the source and its permissions before you install or run it.
Features
Step-by-step formula derivations for Watermelon Book chapters
Explanations written from an undergraduate mathematics perspective
Supplementary video course on Bilibili
Free PDF releases and online reading
Printed edition published by Posts & Telecom Press
Errata page and GitHub issue tracker for corrections
Best for
Self-study of machine learning mathematical foundations
Supplementing Watermelon Book when derivations are unclear
Students with basic calculus and linear algebra background
Group study via Datawhale learning community
Pros
Fills gaps left by the original textbook's skipped derivations
Multiple formats: web, PDF, video, and physical book
Active maintenance with 24-hour issue response commitment
Licensed under CC BY-NC-SA 4.0 for non-commercial sharing
Cons
Requires Watermelon Book (2016 1st edition) as primary reference
Chinese language only
Not recommended for deep study of chapters 1-2 by beginners