All Sheets
Practical cheat sheets to help you learn and build faster.
How to Evaluate RAG Answer Quality – Visual Guide
A 16-page visual guide to evaluating Retrieval-Augmented Generation (RAG) systems. Learn context relevance, faithfulness, answer correctness, Precision@k, Recall@k, MRR, nDCG, LLM-as-judge, golden datasets, and production evaluation with worked examples and Python code.
Retina U-Net – Visual Guide to Medical Image Detection & Segmentation
A 13-page visual guide to Retina U-Net for medical image detection and segmentation. Explore U-Net, RetinaNet, feature pyramids, lesion detection, focal loss, Dice loss, evaluation metrics, and PyTorch code examples.
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.
Transformers Explained Visually – ViT & BioBERT Guide
A 17-page visual guide to Transformers, Vision Transformers (ViT), and BioBERT. Learn tokenization, self-attention, encoder architecture, model parameters, biomedical AI applications, fine-tuning, and practical 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 Test AI Agent Reliability
A practical visual guide to testing AI agent reliability, covering pass^k metrics, evaluation frameworks, test harnesses, fault injection, safety checks, statistical confidence, and Python examples for building dependable AI agents.
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 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.
How to Review an AI-Generated Project Structure
An 8-page visual guide to reviewing AI-generated software projects. Learn how to inspect folder structures, check architecture, verify dependencies, protect secrets, evaluate tests, and decide whether to accept, fix, or regenerate AI-generated 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.