AlgorithmsSearching & hashingEdit on GitHubEdit history
Weighted Reservoir Sampling (A-Res)
A-Res, A-ExpJ2006
Assigns each item of weight w the key u^(1/w), where u is a uniform random number, and keeps the k items with the largest keys, drawing a weighted random sample from a stream in one pass.
Origin
Pavlos S. Efraimidis, Paul G. Spirakis (2006). Weighted random sampling with a reservoir. Information Processing Letters 97(5).doi:10.1016/j.ipl.2005.11.003 — checked against Crossref, 2026-11-08
Lineage
Algorithms 2 · Relations 1
Parent algorithms
Where it came from
Reservoir Sampling1985
Author statementThe paper generalizes one-pass reservoir sampling to weighted random sampling. — doi:10.1016/j.ipl.2005.11.003
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…