Common sampling notation
— “ is distributed as ”.
— iid samples.
— Monte Carlo sample (common in ML/VI).
Algorithmic pseudocode: or .
Conditional/controlled: (RL).
Evo/ES style: , population .
“Reparametrization trick”
Link to originalSampling elements from choices
When order matters:
With replacement:
Without replacement: (pool gets smaller with each sample)When order doesn’t matter:
(binomial coefficient = “selection from a partial multiset”)