All Sheets
Practical cheat sheets to help you learn and build faster.
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.
Which Chart Should I Use? – Data Visualization Guide
A 23-page visual guide to choosing the right chart for your data. Learn when to use bar charts, line charts, histograms, scatter plots, heatmaps, box plots, and more, with decision flowcharts, practical examples, and Python code.
Why Does My AI Agent Keep Failing? – AI Agent Debugging Guide
A 23-page visual guide to debugging unreliable AI agents. Learn why agents fail, how errors compound, and how to fix tool-calling mistakes, context loss, infinite loops, multi-agent handoffs, security risks, and false success claims using practical Python 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 Python Memory Works
An 8-page visual guide to how Python manages memory. Understand objects, references, shallow and deep copies, garbage collection, CPython's memory allocator, memory usage, and debugging memory leaks through diagrams, measured examples, and practical Python tools.
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.
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.
Learning Rate vs Batch Size vs Epochs
Master the three essential deep learning hyperparameters—learning rate, batch size, and epochs—with visual training curves, practical tuning strategies, troubleshooting charts, and PyTorch and Keras examples.
Attention vs Self-Attention vs Cross-Attention – Visual Beginner's Guide
A visual beginner's guide to attention, self-attention, and cross-attention in deep learning. Learn Q, K, V, attention masks, multi-head attention, Transformers, and PyTorch implementation through diagrams and worked 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.