All Sheets
Practical cheat sheets to help you learn and build faster.
OPTICS Clustering – Visual Guide with Python
A 15-page visual guide to OPTICS density-based clustering. Learn core distance, reachability plots, cluster extraction, parameter tuning, and how OPTICS compares with DBSCAN, k-means, and HDBSCAN through worked examples, computed charts, and Python code.
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.
Quadratic Discriminant Analysis (QDA) – Visual Guide
A 14-page visual guide to Quadratic Discriminant Analysis (QDA). Understand Gaussian classification, covariance matrices, curved decision boundaries, QDA vs LDA, regularization, and practical Python implementations with worked examples and computed graphs.
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.
Ridge Regression – Visual Guide to L2 Regularization
Learn Ridge Regression visually with clear diagrams, worked examples, simulated graphs, and Python code. Understand L2 regularization, coefficient shrinkage, overfitting, and how to choose the best regularization strength.
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.
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.
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 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.