New
Designing Machine Learning Systems
An Iterative Process for Production-Ready Machine Learning Applications
by Chip Huyen
Pages
877
Published
2022
A practical, project-driven introduction to machine learning and deep learning with Python
Build and train real machine learning and deep learning models from scratch using Scikit-Learn, Keras, and TensorFlow — without losing the theory that makes them work.
Aurélien Géron's hands-on approach strips away the abstraction that makes machine learning feel out of reach. Across 877 pages, you'll move from foundational supervised and unsupervised learning through to building, training, and deploying deep neural networks. Every concept is grounded in working Python code, so you never just read about a technique — you implement it. If you want to go from capable developer to practicing ML engineer, this is the book that gets you there.
Most machine learning books split into two camps: dense academic theory with no code, or shallow tutorials that skip the reasoning behind every decision. This book refuses both extremes. Aurélien Géron builds your intuition for why algorithms work the way they do, then immediately puts that intuition to work in Python.
The first half covers classical machine learning with Scikit-Learn: linear and logistic regression, decision trees, random forests, support vector machines, and clustering. You'll learn how to frame a problem, select a model, evaluate it honestly, and tune it for production — not just notebook accuracy.
The second half moves into deep learning with Keras and TensorFlow. You'll build feedforward networks, convolutional networks for vision tasks, recurrent networks for sequences, and generative models. Each chapter introduces new architecture concepts through a concrete project, so you always know what you're building and why.
Key areas covered throughout the book include:
The code targets Python 3, Scikit-Learn 1.x, and TensorFlow 2.x. Every chapter ships with Jupyter notebooks you can run immediately, so the gap between reading and doing stays as small as possible.
Whether you are a software engineer making your first serious investment in ML or an analyst who has run models but never built one from weights up, this book gives you the vocabulary, the code patterns, and the confidence to work on real problems.
Survey the types of machine learning systems and the core terminology you will use throughout the book. Understand when to reach for supervised, unsupervised, or reinforcement learning and what traps catch beginners.
Walk through a complete housing-price prediction project from raw data to a deployed model. You'll practice every stage — data exploration, cleaning, feature engineering, model selection, and evaluation — in one cohesive workflow.
Build binary and multiclass classifiers and learn how to measure their performance honestly using confusion matrices, precision-recall curves, and ROC curves. You'll see why accuracy alone is a dangerous metric.
Derive and implement linear regression and logistic regression from first principles, then connect gradient descent, the normal equation, and regularization into a unified picture you can apply to any model.
Train linear and kernel SVMs for classification and regression tasks. You'll understand the margin intuition, the kernel trick, and how to tune SVMs without getting lost in the math.
Grow decision trees, then combine them into random forests and gradient-boosted ensembles. You'll tune ensemble hyperparameters and learn why bagging and boosting reduce variance and bias in different ways.
Reduce high-dimensional data with PCA and other techniques, then cluster unlabeled datasets with K-Means and DBSCAN. You'll learn to evaluate clustering quality without ground-truth labels.
Build your first feedforward neural networks using Keras's Sequential and Functional APIs. You'll train them on real datasets, add regularization, and use callbacks to control the training process.
Tackle the practical problems that prevent deep networks from converging: vanishing gradients, poor initialization, and slow optimizers. You'll apply batch normalization, dropout, and advanced optimizers to get stable training.
Implement CNNs for image classification, apply transfer learning from pretrained models, and extend to object detection and semantic segmentation. You'll finish with a working vision pipeline trained on a real image dataset.
Model time-series and text data with RNNs, LSTMs, and attention mechanisms, culminating in a working Transformer implementation. You'll understand when recurrent architectures excel and when attention is the better choice.
Train variational autoencoders and GANs to generate new data, then learn to distribute training across GPUs using TensorFlow's strategy API and export finalized models in SavedModel format for deployment.
The third edition targets Python 3, Scikit-Learn 1.x, and TensorFlow 2.x with Keras integrated. The accompanying Jupyter notebooks are updated to match these versions.
No formal ML background is required. You do need solid Python skills and basic high-school-level mathematics. Géron explains the math you need as it arises rather than assuming prior coursework.
It is deliberately both. Each concept is explained intuitively and then implemented in working Python code. You won't find chapters of equations with no runnable examples, nor shallow copy-paste tutorials with no explanation.
Yes. The author maintains a GitHub repository of Jupyter notebooks that correspond to each chapter. The book directs you to that repository; Bitsfolio does not host the files directly.
The first half of the book (roughly the first seven chapters) covers classical ML with Scikit-Learn and stands on its own. You can read that section independently if deep learning is not your current focus.
The third edition, published in 2022, updates all code to TensorFlow 2 and Keras's modern API, adds coverage of Transformers and attention mechanisms, and refreshes the deployment and scaling chapters to reflect current TensorFlow tooling.
New
An Iterative Process for Production-Ready Machine Learning Applications
by Chip Huyen
New
A rigorous foundation in Bayesian reasoning, probabilistic models, and modern machine learning methods
New
The definitive textbook on intelligent systems, from foundational search and logic to modern machine learning and probabilistic reasoning
by Peter Norvig, Stuart Russell
New
A Programmer's Guide to Building AI and Machine Learning Models with TensorFlow