Skip to content

Instantly share code, notes, and snippets.

@grej
Forked from jph00/AliasSampling.ipynb
Created March 6, 2018 20:49
Show Gist options
  • Save grej/fb20a2bbfc3c1b02fde0c57bea0ff6e4 to your computer and use it in GitHub Desktop.
Save grej/fb20a2bbfc3c1b02fde0c57bea0ff6e4 to your computer and use it in GitHub Desktop.
Fast weighted sampling using the alias method in numba
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment