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 weighted-random-choice

A curated list of projects in awesome lists tagged with weighted-random-choice .

https://github.com/retraigo/fortuna

A TypeScript module for random events and gacha (random sampling with weights).

deno dice gacha random toss-a-coin typescript weighted-random-choice

Last synced: 27 Oct 2024

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