Analysis updated 2026-05-18
Work through the second edition of the Hands-on Machine Learning textbook with runnable code examples.
Learn machine learning fundamentals including supervised learning, neural networks, and data preprocessing.
Run interactive notebooks in your browser without installing Python or libraries locally.
| ageron/handson-ml2 | datawhalechina/happy-llm | datawhalechina/self-llm | |
|---|---|---|---|
| Stars | 29,941 | 29,949 | 30,278 |
| Language | Jupyter Notebook | Jupyter Notebook | Jupyter Notebook |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 2/5 | 3/5 | 3/5 |
| Audience | vibe coder | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
TensorFlow and Keras installation can be slow, requires Python 3.6+ and pip/conda environment setup.
Handson-ml2 is the companion repository for the second edition of the book "Hands-on Machine Learning with Scikit-Learn, Keras and TensorFlow," published in 2019. It contains Jupyter Notebooks, interactive documents that mix explanations, code, and results, covering the fundamentals of machine learning in Python. Note that this edition is now marked as outdated by its author, who has released a third edition, this repository is preserved for reference. The notebooks walk through core machine learning concepts: training models to recognize patterns in data, building neural networks (software systems loosely inspired by the brain), and using established libraries to handle common tasks. Learners can run the notebooks online for free without installing anything, using services that provide computing resources in the browser. Someone would use this repository if they are working through the second edition of the book and need the code examples and exercise solutions. For anyone starting fresh, the author recommends the newer third edition instead.
Interactive Jupyter notebooks teaching machine learning fundamentals with Python, Scikit-Learn, Keras, and TensorFlow. Companion to the 2019 book edition (now superseded by a third edition).
Mainly Jupyter Notebook. The stack also includes Python, Jupyter Notebook, Scikit-Learn.
Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly vibe coder.
This repo across BitVibe Labs
Verify against the repo before relying on details.