No release in over 3 years
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
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.1
~> 10.0
~> 3.0