All Sheets
Practical cheat sheets to help you learn and build faster.
Model Training Design Patterns – Visual Guide
A practical visual guide to batch training, early stopping, model checkpointing, and learning-rate scheduling, featuring PyTorch code, worked examples, and training diagrams.
Federated Learning – Complete Visual Guide
Master Federated Learning with this 23-page visual guide. Learn FedAvg, distributed model training, non-IID data, client drift, secure aggregation, differential privacy, and federated LLM fine-tuning through diagrams, simulations, and Python examples.
Linear Regression – Visual Guide to Coefficients & Residuals
A 17-page visual guide to linear regression, coefficients, residuals, and least squares. Learn with 26 graphs, step-by-step calculations, model diagnostics, and Python examples using NumPy and scikit-learn.
Diagnosing Model Degradation – Visual MLOps Guide
A 12-page visual guide to diagnosing model degradation in production. Learn data drift, concept drift, model monitoring, PSI, KS tests, slice analysis, root-cause diagnosis, and retraining strategies through diagrams, simulated graphs, and Python examples.
Neural Networks – Visual Mental Models & Training Guide
Master neural networks visually with this 14-page beginner-friendly guide. Understand neurons, layers, activation functions, forward propagation, backpropagation, gradient descent, overfitting, and training loops through diagrams, worked examples, and runnable Python code.
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.
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.
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.
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.