# rasbt/python-machine-learning-book-3rd-edition

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/rasbt-python-machine-learning-book-3rd-edition).**

4,988 stars · 2,072 forks · Jupyter Notebook · mit

## Links

- GitHub: https://github.com/rasbt/python-machine-learning-book-3rd-edition
- Homepage: https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1789955750/
- awesome-repositories: https://awesome-repositories.com/repository/rasbt-python-machine-learning-book-3rd-edition.md

## Topics

`deep-learning` `machine-learning` `scikit-learn` `tensorflow`

## Description

This is the companion code repository for the third edition of the book *Python Machine Learning*. It delivers the entire learning path as a structured collection of Jupyter notebooks that progress from classical machine learning algorithms to advanced deep learning models, with every concept demonstrated through executable code and narrative text.

What distinguishes this resource is its pedagogical design. Each notebook cell encapsulates a single conceptual step, letting readers run, inspect, and modify discrete units of learning. The code provides interchangeable implementations of deep learning models using TensorFlow, PyTorch, and scikit-learn, enabling direct comparison of frameworks. All library versions are pinned to guarantee deterministic execution that matches the printed edition.

Beyond the core tutorial structure, the notebooks cover the full spectrum of machine learning education — implementing classical algorithms for classification, regression, clustering, and dimensionality reduction; training neural networks for image classification and language modeling; and building advanced architectures such as generative adversarial networks and reinforcement learning agents. The material also includes systematic workflows for hyperparameter tuning and cross-validation to refine model performance.

Requirements files and environment specifications are included, ensuring the code runs reproducibly on any compatible setup.

## Tags

### Artificial Intelligence & ML

- [Deep Learning Framework Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/deep-learning-framework-implementations.md) — Provides interchangeable deep learning model implementations across TensorFlow, PyTorch, and scikit-learn.
- [Machine Learning Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning-implementations.md) — Implements core machine learning algorithms for classification, regression, clustering, and dimensionality reduction. ([source](https://cdn.jsdelivr.net/gh/rasbt/python-machine-learning-book-3rd-edition@master/README.md))
- [Machine Learning Training](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/machine-learning-training.md) — Trains and evaluates machine learning models using both classical and deep learning techniques. ([source](https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1789955750/))
- [Deep Learning Tutorials](https://awesome-repositories.com/f/artificial-intelligence-ml/machine-learning/infrastructure/model-training-and-tuning/deep-learning-tutorials.md) — Builds and trains neural networks for image classification and language modeling using interactive code examples.
- [Code Walkthroughs](https://awesome-repositories.com/f/artificial-intelligence-ml/step-by-step-task-plans/code-walkthroughs.md) — Presents algorithms in structured code cells that mirror the narrative progression from theory to implementation.
- [Deep Reinforcement Learning Implementations](https://awesome-repositories.com/f/artificial-intelligence-ml/deep-q-learning-implementations/deep-reinforcement-learning-implementations.md) — Builds cutting-edge models including generative adversarial networks and reinforcement learning agents. ([source](https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1789955750/))
- [Generative Model Development](https://awesome-repositories.com/f/artificial-intelligence-ml/generative-model-development.md) — Builds cutting-edge models such as generative adversarial networks and reinforcement learning agents.
- [Model Optimization Workflows](https://awesome-repositories.com/f/artificial-intelligence-ml/model-optimization-workflows.md) — Refines model performance through systematic hyperparameter tuning and cross-validation techniques.
- [Model Performance Optimization](https://awesome-repositories.com/f/artificial-intelligence-ml/model-optimization/profiling-and-benchmarking/model-performance-optimization.md) — Refines models through systematic tuning using cross-validation and performance metrics to improve accuracy. ([source](https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1789955750/))

### Part of an Awesome List

- [Neural Networks and Deep Learning](https://awesome-repositories.com/f/awesome-lists/ai/neural-networks-and-deep-learning.md) — Trains neural networks for diverse tasks like image classification and language modeling using interactive code. ([source](https://cdn.jsdelivr.net/gh/rasbt/python-machine-learning-book-3rd-edition@master/README.md))
- [Jupyter Notebook Collections](https://awesome-repositories.com/f/awesome-lists/learning/jupyter-notebook-collections.md) — Ships the entire book as a collection of executable Jupyter notebooks for live experimentation.

### Data & Databases

- [Notebook Cell Execution](https://awesome-repositories.com/f/data-databases/horizontal-database-scaling/multi-region-scaling/cell-based-scaling/notebook-cell-execution.md) — Delivers the entire learning path as executable Jupyter notebook cells for interactive experimentation.

### Education & Learning Resources

- [Data Science Learning Materials](https://awesome-repositories.com/f/education-learning-resources/data-science-learning-materials.md) — Offers a structured progression from classical algorithms to advanced deep learning models with real-world implementations.
- [Deep Learning Tutorials](https://awesome-repositories.com/f/education-learning-resources/deep-learning-tutorials.md) — Includes tutorials on neural networks, CNNs, RNNs, GANs, and reinforcement learning using TensorFlow and PyTorch.
- [Machine Learning Books](https://awesome-repositories.com/f/education-learning-resources/educational-resources/ai-learning-resources/ai-machine-learning-tutorials/machine-learning-books.md) — Serves as the companion code repository for the third edition of the Python Machine Learning book.
- [Algorithm Implementations](https://awesome-repositories.com/f/education-learning-resources/educational-resources/algorithms-theory-academics/cs-theory-foundations/algorithms/general-collections-and-study/algorithm-implementations.md) — Implements core ML algorithms for classification, regression, clustering, and dimensionality reduction with code.
- [Machine Learning Education](https://awesome-repositories.com/f/education-learning-resources/educational-resources/systems-applied-computing/machine-learning-education.md) — Teaches machine learning concepts through interactive Jupyter notebooks bridging theory with Python implementations.
- [Jupyter Notebook Curricula](https://awesome-repositories.com/f/education-learning-resources/jupyter-notebook-curricula.md) — Delivers a structured machine learning curriculum as a series of Jupyter notebooks with embedded code and exercises.
- [Machine Learning Educational Resources](https://awesome-repositories.com/f/education-learning-resources/machine-learning-educational-resources.md) — Provides an interactive educational resource teaching machine learning and deep learning through practical code examples.
- [Machine Learning Tutorials](https://awesome-repositories.com/f/education-learning-resources/machine-learning-tutorials.md) — Teaches machine learning concepts through interactive tutorials that guide from theory to implementation. ([source](https://www.amazon.com/Python-Machine-Learning-scikit-learn-TensorFlow/dp/1789955750/))
- [Neural Network Tutorials](https://awesome-repositories.com/f/education-learning-resources/neural-network-tutorials.md) — Trains neural networks for image classification and language modeling using step-by-step interactive code examples.
- [Multi-Framework Implementations](https://awesome-repositories.com/f/education-learning-resources/deep-learning-tutorials/multi-framework-implementations.md) — Provides interchangeable deep learning implementations using TensorFlow, PyTorch, and scikit-learn for direct framework comparison.
