Aurelien Geron’s ML book, but make it executable
Runnable notebooks and notes for the Scikit-Learn chapters in Part I of Aurelien Geron’s "Hands-On ML" textbook.

What it does
This repository collects Jupyter notebooks that work through Part I of Aurelien Geron’s “Hands-On Machine Learning”—the chapters that build fundamentals using scikit-learn. Each notebook corresponds to a book chapter, from the ML landscape through unsupervised learning techniques, turning the text’s examples into executable Python. It is essentially a typed-out, runnable study guide.
The interesting bit
The value is in the transcription: someone else already extracted the code, added notes, and hosted the notebooks via nbviewer so you can read and run without copy-pasting from a PDF. For a book that prides itself on being hands-on, that removes the friction between theory and execution.
Key highlights
- Covers the full Scikit-Learn arc of the book: end-to-end projects, classification, SVMs, decision trees, ensembles, dimensionality reduction, and unsupervised learning.
- Notebooks are linked through nbviewer for immediate browsing without cloning.
- Assumes only basic Python, NumPy/Pandas familiarity, and college-level math.
- Explicitly stops at Part I; the Keras/TensorFlow deep-learning half is not included.
Caveats
- Only Part I is present; the Keras/TensorFlow chapters from Part II are absent.
- The repo is explicitly a companion to the book, not an independent course.
Verdict
Grab this if you are working through Geron’s book and want pre-baked, runnable versions of the Part I exercises. Skip it if you already finished the scikit-learn fundamentals or need the TensorFlow/Keras content from Part II.
Frequently asked
- What is Akramz/Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow?
- Runnable notebooks and notes for the Scikit-Learn chapters in Part I of Aurelien Geron’s "Hands-On ML" textbook.
- Is Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow open source?
- Yes — Akramz/Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow is an open-source project tracked on heatdrop.
- What language is Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow written in?
- Akramz/Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow is primarily written in Jupyter Notebook.
- How popular is Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow?
- Akramz/Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow has 1.1k stars on GitHub.
- Where can I find Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow?
- Akramz/Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow is on GitHub at https://github.com/Akramz/Hands-on-Machine-Learning-with-Scikit-Learn-Keras-and-TensorFlow.