randomBinomial to generate the output rotation. This is a handy random number function that isn’t common in the standard libraries of programming languages. It returns a random number between −1 and 1, where values around zero are more likely. It can be simply created as: 1 def randomBinomial(): 2 return random() - random() where random returns a random number from 0 to 1.
That is handy
Share this highlighthttp://www.safaribooksonline.com/a/artificial-intelligence-for/10609796/