Skip to content

Different methods for creating a small random subset of a population

Notifications You must be signed in to change notification settings

toolslive/Sampling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sampling

Explore different methods of generating a small random subset of a population.

  • S0: first blood
  • S1: using bitsets
  • S2: sparse sets
  • SFabrice: josephus sampling

Compile:

ocamlbuild -use-ocamlfind benchmark.native

Run:

./benchmark.native --module S0

License:

You can use this any way you want as long as your organization employs less than 2 lawyers.

have fun,

Romain.

About

Different methods for creating a small random subset of a population

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages