Sampling

Domain: Math & Logic for AI

🎯 Motivation

Picking items from a distribution. Used to generate text, augment data, and estimate statistics.

📋 Concrete Example

A language model samples the next word from its probability distribution, adding variety to outputs.

🔗 Analogy

Like drawing names from a hat - you pick one based on the probabilities, not always the most likely.