mardi 28 novembre 2017

Difference between np.random.seed(1) and np.random.seed(0)?

I am looking an networks. I find this topic http://ift.tt/1K6jREf

Its going good but i cant understand that part:

# seed random numbers to make calculation
# deterministic (just a good practice)

np.random.seed(1)

# initialize weights randomly with mean 0
syn0 = 2 * np.random.random((3, 1)) - 1

so whats the mean that np.random.seed(1)? why it isnt (0)? whats the mean of (1)) and page writer says "initialize weights randomly with mean 0" for

syn0 = 2 * np.random.random((3, 1)) - 1

what does it mean for ann weights?




Aucun commentaire:

Enregistrer un commentaire