Machine Learning Books: The Best ML, Deep Learning and LLM Books by Level (2027 Guide)
The best machine learning books, deep learning books and LLM books, free and paid, sorted by level from absolute beginner to research. Each entry says who should read it, what you will be able to do afterwards, and whether it is free. Use the reading paths to go from zero to building, fine-tuning and deploying models, or jump to the level you are at now.
Last reviewed: December 2026. Free books link only to official sources (authors, publishers, arXiv). Paid books are marked 💲. Editions and prices change; check the publisher page before buying.
Table of Contents
- How This List Is Organized
- Top 10 If You Only Read Ten
- Reading Paths
- Level 0: Popular Science and Intuition
- Level 1: Beginner Machine Learning
- Level 2: Practical ML with Code
- Level 3: Deep Learning
- Level 4: LLMs and Generative AI
- Level 5: Classic Textbooks and Theory
- Specialized Topics
- MLOps and ML Systems
- Math Prerequisites
- Interview Preparation Books
- Comparison Tables
- Projects to Do While Reading
- FAQ
- Where to Go Next
- Contributing
- License
How This List Is Organized
Each entry has:
- Title, author(s), publisher and year of the current edition.
- Tags:
Free(official free version) or 💲Paid; code language (Python,PyTorch,JAX,R); and math level (Math: low/medium/high). - Read it if: who it is for, and You’ll be able to: what you get out of it.
Levels describe prerequisites, not quality. A Level 1 book can be better than a Level 5 one for you today.
Top 10 If You Only Read Ten
| # | Book | Level | Free? | Why it is on the list |
|---|---|---|---|---|
| 1 | Hands-On Machine Learning with Scikit-Learn and PyTorch (Géron, 2025) | 2 | 💲 | The most complete practical ML book; the new edition switches deep learning to PyTorch |
| 2 | An Introduction to Statistical Learning (James et al.) | 1-2 | Free | The clearest introduction to classical ML ideas, with Python and R labs |
| 3 | Dive into Deep Learning (Zhang et al.) | 3 | Free | Runnable, comprehensive deep learning textbook |
| 4 | Understanding Deep Learning (Prince, 2023) | 3 | Free PDF | Best modern explanation of how deep networks work, with superb figures |
| 5 | Deep Learning with Python, 3rd ed. (Chollet, 2025) | 2-3 | Free online | Friendly, practical deep learning, now including generative models and LLMs |
| 6 | Build a Large Language Model (From Scratch) (Raschka, 2024) | 4 | 💲 | Code a GPT-style model end to end in PyTorch |
| 7 | AI Engineering (Huyen, 2025) | 4 | 💲 | Building products on foundation models: evals, RAG, agents, fine-tuning |
| 8 | Designing Machine Learning Systems (Huyen, 2022) | MLOps | 💲 | Production ML: data, features, deployment, monitoring |
| 9 | Deep Learning: Foundations and Concepts (Bishop and Bishop, 2024) | 5 | Free online | A modern, rigorous successor to Pattern Recognition and Machine Learning |
| 10 | Reinforcement Learning: An Introduction (Sutton and Barto) | RL | Free | The foundation of reinforcement learning |
Reading Paths
Path 1: ML Engineer (about 9 to 12 months)
Assumes you can program in Python. 8 to 10 hours a week.
| Step | Time | Book | Goal |
|---|---|---|---|
| 1 | 2 months | An Introduction to Statistical Learning (Python edition) | Understand bias-variance, regression, trees, cross-validation |
| 2 | 3 months | Hands-On Machine Learning with Scikit-Learn and PyTorch | Build end-to-end projects and neural networks |
| 3 | 2 months | Understanding Deep Learning or Dive into Deep Learning | Know why architectures work, not just how to call them |
| 4 | 1 month | Designing Machine Learning Systems | Ship and monitor models |
| 5 | 1 to 2 months | Build a Large Language Model (From Scratch) | Understand transformers by writing one |
| 6 | Ongoing | One specialized book (RL, vision, NLP) | Depth in your area |
Path 2: LLM and AI Engineer (about 4 to 6 months)
For software engineers who want to build with LLMs. Python required, ML background optional.
- Hands-On Large Language Models (Alammar and Grootendorst): intuition for tokens, embeddings, attention, RAG, fine-tuning, with visuals. 4 weeks.
- AI Engineering (Huyen): evaluation, prompt engineering, RAG, agents, fine-tuning, inference optimization, and how to decide between them. 4 to 6 weeks.
- Build a Large Language Model (From Scratch) (Raschka): implement a GPT model and fine-tune it. 6 weeks.
- The RLHF Book (Lambert, free online): post-training, preference tuning and reward models. 3 weeks.
- Build a Reasoning Model (From Scratch) (Raschka, 2026): inference-time scaling, RL and distillation for reasoning. 4 weeks.
- How to Scale Your Model (Google DeepMind, free): what limits training and serving large models on accelerators. 2 to 3 weeks.
Path 3: Researcher (12+ months)
- Math: Mathematics for Machine Learning (free).
- Pattern Recognition and Machine Learning (Bishop, free PDF) or Probabilistic Machine Learning: An Introduction (Murphy, free).
- Deep Learning: Foundations and Concepts (Bishop and Bishop) and Understanding Deep Learning (Prince).
- Probabilistic Machine Learning: Advanced Topics (Murphy, free).
- Theory: Understanding Machine Learning: From Theory to Algorithms (free) and Learning Theory from First Principles (Bach, free PDF).
- Your subfield’s books below, plus reading papers daily.
Level 0: Popular Science and Intuition
No code, no math required. Good for managers, students choosing a field, or engineers who want the big picture.
- Why Machines Learn: The Elegant Math Behind Modern AI, Anil Ananthaswamy (Dutton, 2024). 💲
Math: low-medium. Read it if: you want the history and the key equations of ML explained as a story, from the perceptron to deep learning. - The Master Algorithm, Pedro Domingos (Basic Books, 2015). 💲
Math: none. Read it if: you want a map of the five “tribes” of ML (symbolists, connectionists, evolutionaries, Bayesians, analogizers). - The Alignment Problem, Brian Christian (W. W. Norton, 2020). 💲
Math: none. Read it if: you care about fairness, safety and what happens when models learn the wrong goal. - The StatQuest Illustrated Guide to Machine Learning, Josh Starmer (2022). 💲
Math: low. Read it if: you liked the StatQuest videos and want ML concepts drawn step by step. A follow-up, The StatQuest Illustrated Guide to Neural Networks and AI, covers deep learning and transformers.
Level 1: Beginner Machine Learning
- ⭐ An Introduction to Statistical Learning (ISL), with Applications in Python or R, Gareth James, Daniela Witten, Trevor Hastie, Robert Tibshirani, Jonathan Taylor (Springer; ISLP 2023).
FreePython/RMath: medium. Read it if: you want the core ideas of ML (regression, classification, resampling, trees, SVMs, unsupervised learning, intro deep learning) explained clearly. You’ll be able to: reason about which model to try and why it might overfit. - The Hundred-Page Machine Learning Book, Andriy Burkov (2019). 💲 (read-first, buy-later model on the author’s site)
Math: medium. Read it if: you want a dense overview of the whole field in a weekend. - Grokking Machine Learning, Luis G. Serrano (Manning, 2021). 💲
PythonMath: low. Read it if: you want very gentle explanations with drawings and simple code. - A Course in Machine Learning, Hal Daumé III.
FreeMath: medium. Read it if: you want a compact free textbook for a first university course.
Level 2: Practical ML with Code
- ⭐ Hands-On Machine Learning with Scikit-Learn and PyTorch, Aurélien Géron (O’Reilly, October 2025). 💲
Python/PyTorchMath: medium. The successor to the best-selling Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow (3rd ed., 2022), which is still excellent if you prefer TensorFlow. Read it if: you want one book that takes you from a first regression to transformers, diffusion models and RL with runnable notebooks. Code: github.com/ageron. - Machine Learning with PyTorch and Scikit-Learn, Sebastian Raschka, Yuxi (Hayden) Liu, Vahid Mirjalili (Packt, 2022). 💲
Python/PyTorchMath: medium. Read it if: you want more of the math behind each algorithm than Géron gives. Code: github.com/rasbt/machine-learning-book. - Python Data Science Handbook, Jake VanderPlas.
FreePythonMath: low. NumPy, pandas, Matplotlib and scikit-learn basics. Read it first if those libraries are new to you. - Feature Engineering and Selection, Max Kuhn and Kjell Johnson.
FreeRMath: medium. How to turn raw data into good features. - Interpretable Machine Learning, Christoph Molnar.
FreeMath: medium. SHAP, LIME, partial dependence and more (see also Interpretability below).
Level 3: Deep Learning
- ⭐ Understanding Deep Learning, Simon J. D. Prince (MIT Press, 2023).
Free PDFPython notebooksMath: medium. Fully connected, convolutional, residual, transformer, graph networks, GANs, normalizing flows, VAEs, diffusion and RL, with clear figures and notebooks. Read it if: you want to understand, not just use. - ⭐ Dive into Deep Learning (D2L), Aston Zhang, Zachary C. Lipton, Mu Li, Alexander J. Smola (Cambridge, 2023).
FreePyTorch/JAX/TensorFlow/MXNetMath: medium. Every concept comes with runnable code. Used in hundreds of universities. - Deep Learning with Python, 3rd edition, François Chollet and Matthew Watson (Manning, 2025).
Free online(print 💲)Keras 3 (JAX/PyTorch/TensorFlow backends)Math: low. Read it if: you want the most approachable practical deep learning book; the new edition adds generative AI and LLM chapters. - Deep Learning, Ian Goodfellow, Yoshua Bengio, Aaron Courville (MIT Press, 2016).
Free HTMLMath: high. The classic theory text. Parts on modern architectures are dated, but the math foundations remain valuable. - Deep Learning: Foundations and Concepts, Christopher M. Bishop and Hugh Bishop (Springer, 2024).
Free online(print 💲)Math: medium-high. Read it if: you want a rigorous, up-to-date textbook that will age well; includes transformers and diffusion. - Deep Learning for Coders with fastai and PyTorch, Jeremy Howard and Sylvain Gugger (O’Reilly, 2020).
Free notebooks(print 💲)Math: low. Top-down, code-first, with the free Practical Deep Learning for Coders course. - The Little Book of Deep Learning, François Fleuret (2023).
Free PDFMath: medium. 170 phone-sized pages covering the essentials. Great review before interviews. - Neural Networks and Deep Learning, Michael Nielsen.
FreePythonMath: medium. Builds backpropagation from scratch. Older, still the clearest explanation of backprop. - Alice’s Adventures in a Differentiable Wonderland, Volume I, Simone Scardapane (2024).
Free (arXiv)Math: medium. A concise primer on differentiable models up to transformers and graph networks. - Grokking Deep Learning, Andrew Trask (Manning, 2019). 💲
NumPyMath: low. Build networks with only NumPy.
Level 4: LLMs and Generative AI
This is the fastest-moving shelf. Prefer books with public code repositories that the authors still update.
Understand and build LLMs
- ⭐ Build a Large Language Model (From Scratch), Sebastian Raschka (Manning, 2024). 💲
PyTorchMath: low-medium. Tokenization, attention, a GPT model, pretraining, instruction fine-tuning, with free code at github.com/rasbt/LLMs-from-scratch. Read it if: you learn by building. - Build a Reasoning Model (From Scratch), Sebastian Raschka (Manning, 2026; print July 2026). 💲
PyTorch. Inference-time scaling, reinforcement learning and distillation on top of a pretrained open model. Code: github.com/rasbt/reasoning-from-scratch. - Hands-On Large Language Models, Jay Alammar and Maarten Grootendorst (O’Reilly, 2024). 💲
PythonMath: low. Visual explanations of tokens, embeddings, attention, semantic search, RAG, text classification and fine-tuning. Code: github.com/HandsOnLLM/Hands-On-Large-Language-Models. - Natural Language Processing with Transformers, revised edition, Lewis Tunstall, Leandro von Werra, Thomas Wolf (O’Reilly, 2022). 💲
Hugging Face. The Hugging Face team’s practical guide. Some APIs have moved on, but the concepts hold. - Foundations of Large Language Models, Tong Xiao and Jingbo Zhu (2025).
Free (arXiv)Math: medium. A textbook-style survey of pretraining, generative models, prompting, alignment and inference. - Speech and Language Processing, 3rd edition draft, Dan Jurafsky and James H. Martin.
FreeMath: medium. Chapters on transformers, LLMs, and post-training sit within the full NLP textbook. - The Hundred-Page Language Models Book, Andriy Burkov (2025). 💲
PyTorch. A short path from ML basics to transformers and LLMs. Site: thelmbook.com.
Build products on LLMs
- ⭐ AI Engineering: Building Applications with Foundation Models, Chip Huyen (O’Reilly, 2025). 💲
Math: low. Evaluation, prompt engineering, RAG, agents, fine-tuning, dataset engineering, inference optimization, and architecture of AI products. Read it if: you build AI features for a living. - Prompt Engineering for LLMs, John Berryman and Albert Ziegler (O’Reilly, 2024). 💲. How LLMs see prompts and how to design LLM applications, from two engineers who worked on GitHub Copilot.
- LLM Engineer’s Handbook, Paul Iusztin and Maxime Labonne (Packt, 2024). 💲
Python. An end-to-end LLM project with data pipelines, fine-tuning, RAG and deployment (LLMOps).
Post-training and alignment
- ⭐ Reinforcement Learning from Human Feedback (The RLHF Book), Nathan Lambert.
Free online(Manning print 2026 💲). Reward models, PPO, DPO, rejection sampling, constitutional AI, reasoning training.
Generative models
- Generative Deep Learning, 2nd edition, David Foster (O’Reilly, 2023). 💲
Keras. VAEs, GANs, autoregressive models, normalizing flows, energy-based and diffusion models, plus multimodal models. - Hands-On Generative AI with Transformers and Diffusion Models, Omar Sanseviero, Pedro Cuenca, Apolinário Passos, Jonathan Whitaker (O’Reilly, 2024). 💲
Hugging Face. Practical diffusion, text-to-image and audio models. - Understanding Deep Learning, chapters 14 to 18 (free) give a clear theoretical treatment of GANs, flows, VAEs and diffusion.
Level 5: Classic Textbooks and Theory
- ⭐ Pattern Recognition and Machine Learning, Christopher M. Bishop (Springer, 2006).
Free PDFMath: high. The Bayesian-flavored classic. Free PDF from Microsoft Research. - ⭐ Probabilistic Machine Learning: An Introduction (2022) and Advanced Topics (2023), Kevin P. Murphy (MIT Press).
Free PDFMath: high. The most comprehensive modern ML reference in two volumes. - The Elements of Statistical Learning, Hastie, Tibshirani, Friedman (Springer, 2nd ed. 2009).
Free PDFMath: high. The classical statistics view of ML: boosting, additive models, kernels, model selection. - Information Theory, Inference, and Learning Algorithms, David MacKay (2003).
FreeMath: high. Compression, coding, inference and neural nets in one inspiring book. - Understanding Machine Learning: From Theory to Algorithms, Shai Shalev-Shwartz and Shai Ben-David (Cambridge, 2014).
Free PDFMath: high. PAC learning and generalization. - Foundations of Machine Learning, 2nd edition, Mohri, Rostamizadeh, Talwalkar (MIT Press, 2018).
Free PDF. Learning theory with algorithms. - Learning Theory from First Principles, Francis Bach (MIT Press, 2024).
Free PDF. Modern theory including neural networks. - Patterns, Predictions, and Actions, Moritz Hardt and Benjamin Recht (Princeton, 2022).
Free. A critical, modern ML textbook connecting prediction with decisions. - Machine Learning: A Probabilistic Perspective (Murphy, 2012) is superseded by the two Probabilistic Machine Learning volumes above.
Specialized Topics
Reinforcement Learning
- ⭐ Reinforcement Learning: An Introduction, 2nd edition, Richard S. Sutton and Andrew G. Barto (MIT Press, 2018).
Free PDF. The field’s foundation. - Algorithms for Decision Making, Mykel J. Kochenderfer, Tim A. Wheeler, Kyle H. Wray (MIT Press, 2022).
Free PDFJulia. Planning under uncertainty, MDPs, POMDPs, multi-agent systems. - Spinning Up in Deep RL, OpenAI.
Free docsPyTorch. Not a book, but the best short introduction to deep RL algorithms with code. - Reinforcement Learning: An Overview, Kevin P. Murphy (2024, arXiv).
Free. A long survey including RL for LLMs. - Grokking Deep Reinforcement Learning, Miguel Morales (Manning, 2020). 💲
PyTorch. Gentle and code-first.
NLP
- ⭐ Speech and Language Processing (3rd ed. draft).
Free. - Natural Language Processing with Transformers (see Level 4). 💲
- Hugging Face LLM Course.
Free course. Practical transformers and datasets.
Computer Vision
- ⭐ Computer Vision: Algorithms and Applications, 2nd edition, Richard Szeliski (Springer, 2022).
Free PDF(personal use). - Foundations of Computer Vision, Antonio Torralba, Phillip Isola, William T. Freeman (MIT Press, 2024).
Free online. - Deep Learning for Vision Systems, Mohamed Elgendy (Manning, 2020). 💲.
Probabilistic and Bayesian ML
- Bayesian Methods for Hackers, Cameron Davidson-Pilon.
Free notebooksPyMC. - Bayesian Data Analysis, 3rd edition, Gelman et al.
Free PDF(non-commercial). - Gaussian Processes for Machine Learning, Carl Edward Rasmussen and Christopher K. I. Williams (MIT Press, 2006).
Free PDF. - Statistical Rethinking, 2nd edition, Richard McElreath (CRC, 2020). 💲, with free lectures.
Interpretability and Responsible AI
- ⭐ Interpretable Machine Learning, Christoph Molnar.
Free. - Fairness and Machine Learning, Solon Barocas, Moritz Hardt, Arvind Narayanan (MIT Press, 2023).
Free. - Introduction to AI Safety, Ethics, and Society, Dan Hendrycks (Taylor and Francis, 2024).
Free online.
Causal Inference
- Causal Inference: What If, Hernán and Robins.
Free PDF. - Causal Inference for the Brave and True, Matheus Facure.
FreePython. - Elements of Causal Inference, Jonas Peters, Dominik Janzing, Bernhard Schölkopf (MIT Press, 2017). Open access from the publisher.
Time Series
- ⭐ Forecasting: Principles and Practice, 3rd edition, Rob J. Hyndman and George Athanasopoulos.
FreeR. A Python edition is also available.
Scaling and Distributed Training
- ⭐ How to Scale Your Model, Google DeepMind authors (2025).
FreeJAX. Rooflines, sharding, and how transformers are trained and served on TPUs and GPUs. - The Ultra-Scale Playbook: Training LLMs on GPU Clusters, Hugging Face (2025).
Free. Data, tensor, pipeline and context parallelism explained with experiments.
MLOps and ML Systems
- ⭐ Designing Machine Learning Systems, Chip Huyen (O’Reilly, 2022). 💲. Data engineering, training data, feature engineering, deployment, monitoring, continual learning.
- Machine Learning Engineering, Andriy Burkov (2020). 💲 (read-first, buy-later on the author’s site).
- Reliable Machine Learning, Cathy Chen, Niall Richard Murphy, Kranti Parisa, D. Sculley, Todd Underwood (O’Reilly, 2022). 💲. SRE principles applied to ML.
- Machine Learning Design Patterns, Valliappa Lakshmanan, Sara Robinson, Michael Munn (O’Reilly, 2020). 💲. 30 reusable patterns for data, training and serving.
- Machine Learning Systems, Vijay Janapa Reddi et al. (Harvard).
Free. An open textbook on ML systems engineering, from data to deployment on edge devices. - Rules of Machine Learning, Martin Zinkevich (Google).
Free. 43 short rules for production ML.
Math Prerequisites
- ⭐ Mathematics for Machine Learning, Deisenroth, Faisal, Ong (Cambridge, 2020).
Free PDF. - The Matrix Calculus You Need for Deep Learning, Terence Parr and Jeremy Howard.
Free. - Introduction to Probability (Stat 110 book), Blitzstein and Hwang.
Free online. - Full list: free-math-textbooks.
Interview Preparation Books
- Machine Learning Interviews Book, Chip Huyen.
Free. The interview process and 200+ knowledge questions. - Deep Learning Interviews, Shlomo Kashani and Amir Ivry (2021).
Free (arXiv). Hundreds of solved problems in math and deep learning. - Machine Learning System Design Interview, Ali Aminian and Alex Xu (ByteByteGo, 2023). 💲.
- The Little Book of Deep Learning.
Free. Excellent one-evening review.
Comparison Tables
Best first book by background
| Your background | Start with | Then |
|---|---|---|
| Programmer, weak math | Hands-On ML (Géron) | ISL, then Understanding Deep Learning |
| Programmer, decent math | ISL (Python) | D2L or Understanding Deep Learning |
| Statistics or math degree | ISL quickly, then ESL | Bishop and Bishop, Murphy |
| Wants to build LLM apps now | Hands-On LLMs | AI Engineering |
| Wants to understand LLMs deeply | Build an LLM From Scratch | Understanding Deep Learning, RLHF Book |
| Non-technical | Why Machines Learn | StatQuest Illustrated Guide |
Deep learning textbooks compared
| Book | Year | Free | Code | Math | Covers transformers and diffusion |
|---|---|---|---|---|---|
| Understanding Deep Learning | 2023 | Notebooks | Medium | Yes | |
| Dive into Deep Learning | 2023 | Yes | PyTorch, JAX, TF | Medium | Transformers yes, diffusion limited |
| Deep Learning with Python 3e | 2025 | Online | Keras 3 | Low | Yes |
| Deep Learning: Foundations and Concepts | 2024 | Online | No | Medium-high | Yes |
| Deep Learning (Goodfellow et al.) | 2016 | HTML | No | High | No |
| Little Book of Deep Learning | 2023 | No | Medium | Briefly |
LLM books compared
| Book | Focus | Code | Best for |
|---|---|---|---|
| Build a Large Language Model (From Scratch) | Implementation | PyTorch | Learning by building |
| Hands-On Large Language Models | Concepts + usage | Python, HF | Visual learners, app builders |
| AI Engineering | Products and evaluation | Little | Engineers shipping AI features |
| LLM Engineer’s Handbook | LLMOps end to end | Python | MLOps-minded engineers |
| The RLHF Book | Post-training | Some | Alignment and fine-tuning |
| Foundations of LLMs | Survey textbook | No | Broad theoretical overview |
Projects to Do While Reading
- Tabular baseline (ISL / Géron): predict house prices with linear regression, random forest and gradient boosting; compare with cross-validation.
- Classifier from scratch: implement logistic regression with gradient descent in NumPy and compare with scikit-learn.
- MNIST to CIFAR (D2L): train an MLP, then a CNN, then a ResNet; plot accuracy against parameter count.
- Backprop by hand (Nielsen / UDL): write a tiny autograd engine supporting add, multiply, tanh and matmul.
- Tiny GPT (Raschka): train a character-level transformer on a public-domain book; generate text.
- Fine-tune a small open model (Hands-On LLMs): LoRA fine-tune on a classification or instruction dataset; evaluate before and after.
- RAG with evals (AI Engineering): build retrieval over your own notes, then create a 50-question eval set and measure answer quality.
- Preference tuning (RLHF Book): run DPO on a small model with a public preference dataset.
- Deploy and monitor (Designing ML Systems): serve a model behind an API, log predictions, and detect drift on synthetic shifted data.
- RL agent (Sutton and Barto): implement Q-learning on a gridworld, then DQN on CartPole.
FAQ
What is the best machine learning book for beginners? An Introduction to Statistical Learning if you want concepts (free), Hands-On Machine Learning if you want to build things (paid). Many people read both.
What is the best deep learning book in 2026? Understanding Deep Learning for explanation (free PDF), Dive into Deep Learning for code (free), and Deep Learning with Python, 3rd edition for the gentlest practical path (free online).
Which book should I read to learn LLMs? Build a Large Language Model (From Scratch) to understand them by building one, Hands-On Large Language Models for intuition and usage, and AI Engineering for building products.
Is the Goodfellow Deep Learning book still worth reading? For foundations (linear algebra, probability, optimization, regularization), yes. For architectures, it predates transformers; use newer books.
Is Hands-On Machine Learning with TensorFlow outdated? The 3rd edition (2022) is still good. The 2025 Scikit-Learn and PyTorch edition is the better choice now that most research and industry code uses PyTorch.
Do I need to read Bishop’s Pattern Recognition and Machine Learning? Only if you are going into research or want a deep Bayesian view. Engineers can skip it.
Are these free PDFs legal? Yes, every free link goes to the author, publisher, university or arXiv. If you find a link that does not, please open an issue.
Do I need math before reading ML books? For Level 1 and 2 books, high school algebra and willingness to learn is enough. For Level 3 and up, learn linear algebra, calculus and probability first or alongside (see Math Prerequisites).
How long does it take to read Hands-On ML? Roughly 3 to 4 months at 8 hours a week, doing the notebooks and exercises.
Should I read books or take courses? Both. Books give depth and structure; courses give pacing and assignments. Pair D2L with a university course, or ISL with its free video lectures.
What about Machine Learning Yearning? It was a free draft by Andrew Ng about structuring ML projects. The official download page has moved around over the years; the same advice is in his free courses.
Where to Go Next
- Learn the math: free-math-textbooks.
- Fill CS gaps: computer-science-textbooks.
- Only free AI books: free-ai-books.
- Practice: Kaggle competitions and the Hugging Face courses.
Contributing
Suggestions are welcome. Please include:
- Title, authors, publisher, year and edition.
- An official link (publisher, author, or arXiv; no unofficial PDFs).
- Free or 💲, level, and who it is for, in your own words.
Reports of broken links, new editions or books that stopped being free are very helpful.
License
This list is released under CC BY 4.0. Books belong to their authors and publishers.
If this helped you, a star helps others find it.
More free resources
Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.