All Sheets
Practical cheat sheets to help you learn and build faster.
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.
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.
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.
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.
Attention in AI
A 14-page visual guide to Attention in AI, covering Q/K/V, scaled dot-product attention, self & cross-attention, masking, multi-head attention, positional encoding, KV cache, FlashAttention, and practical NumPy + PyTorch code.
Gradient Descent vs SGD vs Adam
A 10-page visual beginner’s guide to Gradient Descent, SGD, mini-batch SGD, Adam and AdamW, with learning-rate guidance, momentum, real experiments, optimizer comparisons, and practical NumPy & PyTorch code.
Perceptron vs Multilayer Neural Network
A visual beginner’s guide to perceptrons and multilayer neural networks, covering hidden layers, XOR, activation functions, backpropagation, training, and practical Python examples.
Which Regression Model Fits My Data?
A visual guide to choosing the right regression model based on your target, data shape, and constraints—with decision flowcharts, model comparisons, diagnostics, validation tips, and scikit-learn code.