The quickest way to run the Hands-On ML notebooks is directly in the cloud — no installation, no package management, just click a link and start coding. If you prefer to work locally, you can have a full environment running in about ten minutes using Anaconda. This page covers both paths.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ageron/handson-ml3/llms.txt
Use this file to discover all available pages before exploring further.
Cloud options (no installation required)
You can open any notebook in several hosted environments. Google Colab is the recommended option because it offers free GPU access, deep integration with Google Drive, and the most consistent experience with the book’s code.- Google Colab
- Kaggle
- Binder
- Deepnote
Google Colab is the recommended platform. It runs on Google’s infrastructure, provides optional free GPU/TPU access, and requires only a Google account.Open in Google Colab
Local setup (3 steps)
Running locally gives you full control over your environment, persistent storage, and the ability to work offline. The setup uses Anaconda (or Miniconda) to create an isolated Python 3.10 environment with all required libraries.Create and activate the conda environment
From inside the
handson-ml3 directory, create the homl3 environment from the included environment.yml file. This installs Python 3.10 along with Scikit-Learn, TensorFlow, Keras, and all other required libraries:Prerequisites checklist
Before you start, make sure you have the following:- Python — the conda environment installs Python 3.10 automatically
- git — needed to clone the repository (or download the zip instead)
- Anaconda or Miniconda — for local setup only
- A Google account — for Colab only
- Basic Python knowledge — familiarity with functions, loops, and importing libraries
What’s next
Full installation guide
Detailed walkthrough including GPU setup and update instructions
Docker setup
Run notebooks in an isolated container without touching your system Python
Cloud platforms compared
Detailed comparison of Colab, Kaggle, Binder, and Deepnote
Project overview
All 19 chapters at a glance with topic summaries