cantino/walker_method

A Ruby implementation of Walker's Alias Method for quickly sampling from an array with a given probability distribution

by Andrew Cantino Ruby MIT licence 2 forks Created Mar 2013 View on GitHub

Stars
71
1% of cantino's stars
Rank
#636,785
of 852,180 repos, top 75%
In Ruby
#9,963
of 13,228 repos, top 76%

Among 852,180 repos

Compare with

63–100 stars: 217,627 repos, including walker_method

Stars along the bottom, and repos in each band on a log scale

Quick stats

Next rank
+1 star to reach #630,298
Next milestone
+7 stars to reach the top 70%
Yearly average
5 stars a year since Mar 2013

Stars counted Recounted daily Next count around