Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

Projects in Awesome Lists tagged with sample-once

A curated list of projects in awesome lists tagged with sample-once .

https://github.com/ori88c/non-replacement-weighted-random-item-sampler

A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, and every item is sampled exactly once (without repetition or replacement). The sampling method utilizes a binary-search optimization, making it suitable for performance-demanding applications where the set of items is large.

binary-search js logn no-repetitions no-replacement nodejs non-replacement non-replacement-weighted-sampling sample-once typescript weighted-choice weighted-random weighted-random-choice weighted-random-pick weighted-random-sampling weighted-random-select weighted-sampler weighted-samples weighted-sampling weighted-select

Last synced: 29 Oct 2024