An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

npmjs.org : non-replacement-random-item-sampler

An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completio

Registry - Source - Homepage - JSON
purl: pkg:npm/non-replacement-random-item-sampler
Keywords: random , item , element , sample , samples , sampler , random-sampler , random-select , random-selector , replacement , no-replacement , without-replacement , no-repetition , unique-samples , efficient , O(1) , cyclic , rounds , typescript , ts , ES2020 , constant-time , cycles , efficient-sampling , no-repetitions , non-replacement , random-element , random-item , random-permutations , random-sample , random-samples , random-selection , random-shuffle , sampling , shuffle
License: Apache-2.0
Latest release: 6 months ago
First release: 6 months ago
Downloads: 13 last month
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 11 days ago

    Loading...
    Readme
    Loading...