Get the latest tech news

Reservoir Sampling


technique for selecting a fair random sample when you don't know the size of the set you're sampling from. By the end of this essay you will know: - When you would need reservoir sampling.

This post has been sponsored by the wonderful folks at ittybit, and their API for working with videos, images, and audio. How would you play this game in a way that ensures all cards have been given an equal chance to be selected when I decide to stop? If you want to tell me what you thought of this post by sending me an anonymous message that goes directly to my phone, go to https://samwho.dev/ping.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Reservoir

Reservoir

Photo of Reservoir Sampling

Reservoir Sampling

Related news:

News photo

Reservoir of Liquid Water Found Deep In Martian Rocks

News photo

AI is on a collision course with music — Reservoir’s Golnar Khosrowshahi thinks there’s a way through