mardi 23 février 2016

Why does numpy use the half-open interval for its uniform random?

All of numpy's random functions say things like:

Create an array of the given shape and propagate it with random samples from a uniform distribution over [0, 1).

(See here: http://ift.tt/1RZsl5S)

What is the reason for using the half-open interval [0, 1)? From a probabalistic point of view, it shouldn't matter whether 1 is included or not.




Aucun commentaire:

Enregistrer un commentaire