Skip to main content

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.

All Hands-On ML notebooks can be run directly in the browser on several cloud platforms without installing any software. This page covers each option in detail so you can choose the one that suits your workflow. Google Colab is the recommended starting point for most readers.

Platform comparison

FeatureColabKaggleBinderDeepnote
Free tierYesYesYesYes (limited)
GPU accessYes (free)Yes (30 h/week)NoYes (paid)
Session persistenceNo (temporary)YesNo (temporary)Yes
Account requiredGoogleKaggleNoDeepnote
Tested with this repoYesPartialPartialPartial
Startup timeFastFastSlowFast

Tips for cloud usage

The first cell of each notebook typically installs or checks for required packages. Run it even if Colab or Kaggle appear to have the libraries installed — the cell handles version pinning.
  • Save your work regularly. On temporary platforms (Colab, Binder), download your notebook or sync to Google Drive after making changes.
  • GPU runtime in Colab. To enable a GPU, go to Runtime > Change runtime type and select T4 GPU. Free GPU access is subject to availability and usage limits.
  • Data downloads. Notebooks that download datasets (e.g., chapters 2, 15) will re-download each session on temporary platforms. This is expected behavior.

Viewing notebooks without running code

If you only want to read the notebooks without executing any cells, you can view a static render:
  • nbviewer — renders notebooks with correct math equation formatting
  • GitHub’s built-in viewer — works for smaller notebooks, but may fail to load large ones and does not always render math correctly

Ready to install locally?

Local installation

Full walkthrough for Anaconda, the homl3 environment, and GPU setup

Docker setup

Run notebooks in an isolated container with docker-compose

Build docs developers (and LLMs) love