I'm trying to create two numpy arrays (a, b) filled with random values between 0-1 using numpy.random.rand(). While the following code doesn't cause any problems for a, the seceond array b is filled with values between 1-10.
import numpy
a = numpy.random.rand(100,784)
b = numpy.random.rand(10,100)
print(b)
Any ideas?
Aucun commentaire:
Enregistrer un commentaire