Re:Unbiased Randomization with the Fisher-Yates Shuffle
by nobodysfool2 on Monday August 11, 2014 @02:46PM
(#8164584)
If you are using Python, you should use the standard 'random.shuffle' which does use the Fisher-Yates algorithm.
[ Parent
| on HN ]
Re:Unbiased Randomization with the Fisher-Yates Shuffle
by cruise02 on Monday August 11, 2014 @03:39PM
(#8164828)
It does seem strange to say "However, there are plenty of languages that don’t provide built in support for such a function, leaving you on your own." and then show examples in Python.
Re:Unbiased Randomization with the Fisher-Yates Shuffle
by kiyoto on Monday August 11, 2014 @04:02PM
(#8164939)
If you are using Excel, you might find my blog entry useful: http://kiyototamura.tumblr.com/post/91613880102/generating-a...
Re:Unbiased Randomization with the Fisher-Yates Shuffle
by silentbicycle on Monday August 11, 2014 @03:02PM
(#8164674)
There's value in knowing how it's implemented.