Categories: None [Edit]

weighted_sampler

https://rubygems.org/gems/weighted_sampler
Weighted Sampler helps you to pick a random samples from a collection with defined probabilities or weights. You can pass an Array or a Hash with desired probabilities and use Module or Class API to pick samples. Please, see documentation in the repo https://gitlab.com/oleksiy/weighted_sampler

Total

Ranking: 76,561 of 188,339
Downloads: 12,261

Daily

Ranking: 115,350 of 188,315
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
13,087,820,008bundler
101,191,537,815rake
29936,556,175rspec

Owners

#GravatarHandle
1iconwilee