jeudi 15 juin 2017

How does python generate random number from normal distribution?

I know that random.normal() will give me a random number from normal distribution. But how does it actually generate it. I understand that random.random() is either generated by a seed or using system randomness. Is random.normal() also generated similarly? or is it by rejection sampling technique?




Aucun commentaire:

Enregistrer un commentaire