Jupyter Notebooks
Download runnable companion notebooks for the chapters. Each notebook bundles the chapter's Python code into executable cells.
Part 1: Mathematical Foundations for Machine Learning
Chapter 1: Linear Algebra for ML
Chapter 2: Calculus and Optimization
Chapter 3: Probability and Statistics
Part 2: Python Ecosystem and Classical Machine Learning
Chapter 4: Python Data Science Stack
Chapter 5: Supervised Learning Fundamentals
Chapter 6: Classification Algorithms
Chapter 7: Ensemble Methods
Chapter 8: Unsupervised Learning
Part 3: Deep Learning Fundamentals
Chapter 9: Neural Network Foundations
Chapter 10: Training Deep Networks
Chapter 11: Convolutional Neural Networks
Chapter 12: Sequence Models
Part 4: Modern Architectures and Large Language Models
Chapter 13: Transformer Architecture
Chapter 14: Pre-trained Language Models
Chapter 15: Fine-tuning and Alignment
Chapter 16: Efficient Transformer Architectures
Chapter 17: Vision Transformers
Part 5: Generative Models
Chapter 18: Variational Autoencoders
Chapter 19: Generative Adversarial Networks
Chapter 20: Diffusion Models
Part 6: Multimodal AI and Vision-Language Models
Chapter 21: Vision-Language Foundations
Chapter 22: Text-to-Image and Beyond
Part 7: Applied AI Systems
Chapter 23: Retrieval-Augmented Generation
Chapter 24: Agentic AI Systems
Chapter 25: Reinforcement Learning
Chapter 26: MLOps and Production Systems
Chapter 27: AI Ethics and Responsible Development
Part 8: Data Science: Process & Practice
Chapter 28: The Data Science Lifecycle
Chapter 29: Data Acquisition & Wrangling
Chapter 30: Exploratory Data Analysis
Chapter 31: Feature Engineering & Selection
Chapter 32: Data Visualization & Storytelling
Part 9: Statistics & Statistical Inference
Chapter 33: Descriptive Statistics & Distributions
Chapter 34: Probability Distributions in Depth
Chapter 35: Sampling & Estimation
Chapter 36: Hypothesis Testing
Chapter 37: Resampling & the Bootstrap
Chapter 38: Bayesian Inference
Chapter 39: Regression & Generalized Linear Models
Chapter 40: Experimental Design & A/B Testing
Part 10: Databases & SQL for Data Science
Chapter 41: Relational Databases & SQL Fundamentals
Chapter 42: Intermediate SQL: Joins & Aggregation
Chapter 43: Advanced SQL: Window Functions & CTEs
Chapter 44: Analytical SQL & Data Warehousing
Chapter 45: NoSQL & Modern Data Stores
Part 11: Time Series Analysis & Forecasting
Chapter 46: Time Series Fundamentals
Chapter 47: Classical Forecasting: ARIMA & ETS
Chapter 48: Machine Learning for Time Series
Part 12: Programming for Data Science
Chapter 49: Python for Data Science in Depth
Chapter 51: Reproducible Research & Notebooks