All Sheets
Practical cheat sheets to help you learn and build faster.
Quadratic Discriminant Analysis (QDA) – Visual Guide
A 14-page visual guide to Quadratic Discriminant Analysis (QDA). Understand Gaussian classification, covariance matrices, curved decision boundaries, QDA vs LDA, regularization, and practical Python implementations with worked examples and computed graphs.
Ridge Regression – Visual Guide to L2 Regularization
Learn Ridge Regression visually with clear diagrams, worked examples, simulated graphs, and Python code. Understand L2 regularization, coefficient shrinkage, overfitting, and how to choose the best regularization strength.
Reinforcement Learning – Visual Mental Models
A 16-page visual guide to reinforcement learning, from agent-environment loops and Q-learning to DQN, PPO, and RLHF. Includes diagrams, worked calculations, simulation graphs, and Python examples.
Diagnosing Sampling Bias – Visual Guide with Python
A 9-page visual guide to identifying, measuring, and correcting sampling bias. Learn eight common bias patterns through diagrams, simulated graphs, diagnostic workflows, worked examples, and tested Python code.
U-Net Segmentation – Visual Architecture
A visual guide to U-Net image segmentation, covering encoder–decoder architecture, skip connections, convolutions, tensor shapes, Dice and IoU metrics, training, and practical PyTorch implementation.
Vision Transformer (ViT) – Visual Mental Models & Architecture Guide
A visual guide to Vision Transformers (ViT), explaining image patches, token embeddings, positional encoding, multi-head attention, Transformer encoder blocks, and image classification through diagrams, computed examples, and NumPy code.
How to Evaluate RAG Answer Quality – Visual Guide
A 19-page visual guide to evaluating Retrieval-Augmented Generation (RAG) systems. Learn retrieval metrics, faithfulness, answer correctness, LLM-as-judge, RAGAS, test-set design, and production monitoring through diagrams, worked examples, and Python code.
How a Transformer Processes Text – Visual Guide
A 20-page visual guide explaining how Transformers process text, from tokenization and embeddings to self-attention, multi-head attention, next-token prediction, and training, using clear diagrams and worked numerical examples.
Normalization vs Regularization – Visual Beginner's Guide
An 18-page visual beginner's guide to normalization and regularization in machine learning. Learn feature scaling, BatchNorm, LayerNorm, L1/L2 penalties, dropout, early stopping, and overfitting with diagrams, real experiments, and Python examples.
Model Evaluation Recipes – Visual ML Guide
A practical visual guide to evaluating machine learning models. Learn classification and regression metrics, cross-validation, threshold tuning, calibration, data leakage prevention, and model comparison with scikit-learn examples.
Cross-Validation Mistakes
Learn 10 common cross-validation mistakes that produce misleading machine learning scores. This visual guide explains data leakage, preprocessing pipelines, time-series splits, group-aware validation, nested CV, and evaluation metrics with wrong vs correct Python examples.
Activation Functions — Complete Visual Guide for Neural Networks
A 12-page visual guide to neural network activation functions, covering ReLU, Sigmoid, Tanh, GELU, SiLU, Softmax, gradient flow, weight initialization, performance comparisons, and practical PyTorch examples.