RubyGems Navigation menu

weighted_sampler 1.1.1

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

Gemfile:
=

安裝:
=

版本列表:

  1. 1.1.1 January 27, 2020 (8.5 KB)
  2. 1.1.0 January 02, 2019 (8.5 KB)
  3. 1.0.3 July 26, 2018 (8.0 KB)
  4. 1.0.2 June 15, 2018 (8.0 KB)
  5. 1.0.1 June 15, 2018 (11.0 KB)
顯示所有版本(共 7)

Development 相依性套件 (3):

bundler ~> 2.1
rake ~> 10.0
rspec ~> 3.0

擁有者:

推送者:

作者:

  • Oleksiy Babich

SHA 256 總和檢查碼:

=

總下載次數 12,039

這個版本 2,292

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

相關連結: