Package Info

ghc-sampling


Sample values from collections


Development/Libraries/Haskell

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.


License: MIT
URL: https://hackage.haskell.org/package/sampling

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.3.2-bp150.2.3 info GA Release 2018-08-01 15
  • AArch64
  • ghc-sampling
  • ghc-sampling-devel
0.3.2-bp150.2.5 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-sampling
  • ghc-sampling-devel
0.3.2-bp150.2.6 info GA Release 2018-07-30 15
  • x86-64
  • ghc-sampling
  • ghc-sampling-devel