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.
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.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.