Hacker News new | past | comments | ask | show | jobs | submit login
Darts, Dice, and Coins: Sampling from a Discrete Distribution (2011) (keithschwarz.com)
15 points by murbard2 on April 21, 2015 | hide | past | favorite | 1 comment



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...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: