ageron /
handson-ml3
A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, Keras and TensorFlow 2.
Loading repository data…
ageron / repository
A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, PyTorch, and Hugging Face libraries.
The goal of this project is to teach you the fundamentals of Machine Learning in Python. It contains the example code and solutions to the exercises in the first edition of my new O'Reilly book Hands-on Machine Learning with Scikit-Learn and PyTorch (1st edition):
Note: If you are looking for the notebooks for the TensorFlow/Keras version of this book, check out ageron/handson-ml3.
⚠ Colab provides a temporary environment: anything you do will be deleted after a while, so make sure you download any data you care about.
github.com's notebook viewer also works but it's not ideal: it's slower, the math equations are not always displayed correctly, and large notebooks often fail to open.
Check out the installation instructions.
Which Python version should I use?
I recommend Python 3.12. If you follow the installation instructions above, that's the version you will get. Versions 3.10 and 3.11 should work as well, but some libraries are not yet available for 3.13.
I'm getting an error when I call load_housing_data()
If you're getting an HTTP error, make sure you're running the exact same code as in the notebook (copy/paste it if needed). If the problem persists, please check your network configuration. If it's an SSL error, see the next question.
I'm getting an SSL error on MacOSX
You probably need to install the SSL certificates (see this StackOverflow question). If you downloaded Python from the official website, then run /Applications/Python\ 3.12/Install\ Certificates.command in a terminal (change 3.12 to whatever version you installed). If you installed Python using MacPorts, run sudo port install curl-ca-bundle in a terminal.
I've installed this project locally. How do I update it to the latest version?
See INSTALL.md
How do I update my Python libraries to the latest versions, when using Anaconda?
See INSTALL.md
I would like to thank everyone who contributed to this project, either by providing useful feedback, filing issues or submitting Pull Requests.
Selected from shared topics, language and repository description—not editorial ratings.
ageron /
A series of Jupyter notebooks that walk you through the fundamentals of Machine Learning and Deep Learning in Python using Scikit-Learn, Keras and TensorFlow 2.
DeqianBai /
A series of Jupyter notebooks with Chinese comment that walk you through the fundamentals of Machine Learning and Deep Learning in python using Scikit-Learn and TensorFlow.
A series of Python Jupyter notebooks that help you better understand "The Elements of Statistical Learning" book
markjay4k /
A series of Jupyter notebooks and python files which stream audio from a microphone using pyaudio, then processes it.
andymcdgeo /
A series of Jupyter notebooks showing how to load well log and petrophysical data in python.
csaybar /
A series of Jupyter notebook to learn Google Earth Engine with Python