All Sheets
Practical cheat sheets to help you learn and build faster.
How PyTorch Tensors Work – Visual Guide
A visual guide to PyTorch tensor internals, covering shapes, strides, storage, views, reshaping, broadcasting, memory layouts, dtypes, and common debugging pitfalls with practical Python examples.
Passive-Aggressive Algorithms – Visual Guide
A 14-page visual guide to Passive-Aggressive Algorithms for online machine learning. Learn PA, PA-I, PA-II, hinge loss, margin-based updates, regularization, concept drift, and streaming classification through worked examples, computed graphs, and Python code.
Diagnosing RAG Chunking Problems – Visual Guide
A practical 12-page visual guide to diagnosing RAG chunking failures. Learn six failure modes, chunk sizing, overlap, token limits, gold-chunk tracing, retrieval diagnostics, and Python audit techniques with flowcharts and computed examples.
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.
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.
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.
Vector Search vs Traditional Search — Visual Guide to BM25, Embeddings & Hybrid Search
A 13-page visual guide comparing keyword (BM25), vector, and hybrid search, with embedding models, ANN indexes, FAISS and Elasticsearch examples, ranking techniques, and evaluation checklists.
AI Chatbot Website — Complete Architecture & Development Guide
A visual, practical guide to building an AI chatbot website, covering architecture, streaming, memory, RAG, tool use, security, authentication, cost optimization, evaluation, and launch.