Skip to content

Instantly share code, notes, and snippets.

@AlexMRuch
Forked from jph00/AliasSampling.ipynb
Created November 10, 2018 23:53
Show Gist options
  • Save AlexMRuch/d2e4fc61cf93a6971dc62bb5e59fd43c to your computer and use it in GitHub Desktop.
Save AlexMRuch/d2e4fc61cf93a6971dc62bb5e59fd43c 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