npmjs.org : weighted-random-item-sampler
A weighted random item sampler (selector), where the probability of selecting an item is proportional to its weight, with replacement allowed between samples. In other words, an item can be sampled more than once. The sampling method utilizes a binary sea
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/weighted-random-item-sampler
Keywords:
weight
, weighted
, weighted-random
, sample
, sampler
, sampling
, random
, randomized
, random-select
, weighted-select
, weighted-selector
, weighted-selection
, weighted-sampling
, weighted-item
, weighted-object
, nodejs
, typescript
, ts
, ES2020
, binary-search
, random-choice
, select
, selector
, weighted-choice
, weighted-sampler
, weighted-samples
License: Apache-2.0
Latest release: 10 months ago
First release: about 1 year ago
Downloads: 24 last month
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 6 days ago