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 Verify Statistical Results Generated by AI
A practical visual guide to verifying AI-generated statistical results. Learn to detect incorrect tests, recompute p-values, check assumptions, interpret confidence intervals, and validate A/B testing conclusions using Python, SciPy, and statsmodels.
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.
Why Is My Python App Slow?
An 8-page visual troubleshooting guide to finding and fixing slow Python applications. Diagnose CPU, I/O, memory, concurrency, database, and GPU bottlenecks with profiling tools, decision trees, code examples, and a step-by-step optimization workflow.
How to Optimize AI-Generated Python Code – Practical Performance Guide
A practical 13-page visual guide to optimizing AI-generated Python code. Learn profiling, faster algorithms, NumPy and pandas vectorization, caching, generators, concurrency, and safe optimization with before-and-after code and measured benchmarks.
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.