3 ms·
Perhaps surprisingly, yes, it does! This is called "reservoir sampling", and a blog post with some more details is available at https://blog.plover.com/prog/wei
by IngoBlechschmid 7y ago
Perhaps surprisingly, yes, it does! This is called "reservoir sampling", and a blog post with some more details is available at https://blog.plover.com/prog/weighted-reservoir-sampling.html https://blog.plover.com/prog/weighted-reservoir-sampling.htm....