Darts, Dice, and Coins: Sampling from a Discrete Distribution (2011) (keithschwarz.com) 15 points by murbard2 11y ago ↗ HN
[–] totekp 11y ago ↗ probabilistic modeling is gaining popularity here for some reason. Alias algorithm is used here to create a discrete distribution https://github.com/jliszka/probability-monad/blob/master/src...
1 comment
[ 0.22 ms ] story [ 17.2 ms ] thread