I want to generate a vector pseudo-random numbers (between 0 and 1) from another vector of float point number (between 0 and 1) in Python, so that the same float point number will give rise to the same pseudo-random number.
For example, given the vector [0.124, 0.258, 0.697, 0.124], then I would like receive a vector like [0.358, 0.695, 0.976 ,0.358].
Is there any easy way to implement this? Is it possible to use the numpy.random package to implement this?
Aucun commentaire:
Enregistrer un commentaire