ghc-sampling
Sample values from collections


Basic sampling tools. Exports variations on two simple functions for sampling from arbitrary 'Foldable' collections: * 'sample', for sampling without replacement * 'resample', for sampling with replacement (i.e., a bootstrap) Each variation can be prefixed with 'p' to sample from a container of values weighted by probability.

MIT

cloud_download Downloads

Please select a product to see the available package versions:
Loading...
Loading package downloads...