#164164th of 171 in Learning and cookbooks

machine_learning_code_implementation

Companion code for a Chinese ML textbook covering 26 classic algorithms

Stars
1.6k
License
no license
Last commit
Apr 2026
Language
Jupyter Notebook
Stars, last 29 weeks+10
6 May 2026: 1,541 stars13 May 2026: 1,542 stars20 May 2026: 1,542 stars27 May 2026: 1,542 stars3 Jun 2026: 1,542 stars10 Jun 2026: 1,542 stars17 Jun 2026: 1,542 stars24 Jun 2026: 1,543 stars1 Jul 2026: 1,543 stars8 Jul 2026: 1,543 stars15 Jul 2026: 1,546 stars22 Jul 2026: 1,546 stars29 Jul 2026: 1,546 stars5 Aug 2026: 1,546 stars12 Aug 2026: 1,546 stars19 Aug 2026: 1,546 stars26 Aug 2026: 1,546 stars2 Sept 2026: 1,546 stars9 Sept 2026: 1,548 stars16 Sept 2026: 1,548 stars23 Sept 2026: 1,549 stars30 Sept 2026: 1,550 stars7 Oct 2026: 1,550 stars14 Oct 2026: 1,551 stars21 Oct 2026: 1,551 stars28 Oct 2026: 1,551 stars4 Nov 2026: 1,551 stars11 Nov 2026: 1,551 stars18 Nov 2026: 1,551 stars25 Nov 2026: 1,551 stars

1,541 on 6 May 20261,551 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Code repository for the book 机器学习 公式推导与代码实现, supplementing Li Hang's 统计学习方法 and Zhou Zhihua's 西瓜书. It implements 26 classic algorithms in Jupyter notebooks and Python, grouped into single supervised models, ensembles, unsupervised models and probabilistic models, organized by book chapter. A 2026.04 revision added a shared mlbook/ library, 25 tests, and fixes for LDA, MCMC and HMM code.

Who it is for: Chinese-reading ML beginners studying classic algorithms from textbooks

Strengths

  • Covers 26 algorithms in four groups, with code organized by book chapter
  • April 2026 review fixed bugs in LDA, Gibbs sampling and HMM code
  • Shared mlbook/ library replaces duplicated utils.py and cart.py files
  • Includes a tests/ directory with 25 test cases

Weaknesses

  • README and book are in Chinese only
  • Full book text is not in the repo; only code is open-sourced
  • CC BY-NC-SA 4.0 license prohibits commercial use
  • Companion PPT is available only to buyers of the print book

What it needs

  • no GPU
  • Needs Python, NumPy, scikit-learn, matplotlib

Also in Learning and cookbooks

See all 171
Also in Learning and cookbooks
RankProjectScore
#162efficient-dl-systemsUniversity course materials on efficient GPU training and inference of deep learning1.1k starsMIT12 out of 100
#163deeplearing-interview-awesome-2024Chinese-language deep learning and LLM interview question collection2.9k starsno license11 out of 100
#165deeplearning4j-examplesMaven example projects for the Deeplearning4J JVM deep learning stack2.5k starscustom licenseno commits in a year9 out of 100
#166evaluation-guidebookWritten guide to evaluating LLMs, from benchmarks to LLM-as-a-judge2.2k starscustom license8 out of 100
#167alfredBenchmark and baseline models for following household instructions in AI2-THOR533 starsMIT8 out of 100