← all repositories
ageron/handson-ml

A 25,000-star time capsule from the first Hands-On ML era

Jupyter notebooks and exercise solutions for the 2017 first edition of a popular O'Reilly ML book, now deprecated by the author.

25.6k stars Jupyter Notebook Learning
handson-ml
Not currently ranked — collecting fresh signals.
star history

What it does This repository contains the Jupyter notebooks and exercise solutions for the first edition of the O’Reilly book Hands-On Machine Learning with Scikit-Learn and TensorFlow, published in 2017. It teaches machine learning fundamentals in Python through Scikit-Learn and TensorFlow examples. The author has since deprecated the project and now points visitors to a third edition and a PyTorch-based alternative.

The interesting bit With over 25,000 stars, this repo is essentially a well-preserved museum piece from 2017. The author has plastered it with clear deprecation warnings and direct links to modern successors, which is a refreshing level of honesty for a legacy project.

Key highlights

  • Complete example code and exercise solutions for the 2017 first edition
  • Covers Scikit-Learn and TensorFlow workflows
  • Runnable in temporary cloud environments including Colaboratory, Binder, and Deepnote
  • Explicitly deprecated by the author with links to the third edition and PyTorch version

Caveats

  • Explicitly deprecated; the author recommends the third edition or PyTorch version instead
  • Targets the 2017 first edition, so expect dated APIs and library versions
  • The FAQ still warns about Python 3.8 and 3.9 compatibility, underscoring how long it has been frozen

Verdict Worth a look only if you are specifically working through the first edition of the book or studying 2017-era ML code. Everyone else should follow the author’s own advice and head to the newer editions.

Frequently asked

What is ageron/handson-ml?
Jupyter notebooks and exercise solutions for the 2017 first edition of a popular O'Reilly ML book, now deprecated by the author.
Is handson-ml open source?
Yes — ageron/handson-ml is open source, released under the Apache-2.0 license.
What language is handson-ml written in?
ageron/handson-ml is primarily written in Jupyter Notebook.
How popular is handson-ml?
ageron/handson-ml has 25.6k stars on GitHub.
Where can I find handson-ml?
ageron/handson-ml is on GitHub at https://github.com/ageron/handson-ml.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.