What do these two lines mean?
1. np.random.seed(1)
2. syn0 = 2*np.random.random((3,4))-1
I understand the first line is the starting point of the random generating numbers, what will make them generating the same sequence even though they have the same starting point?
The second line is the generation of the matrix 3x4 of the weights. Is the "1" related to the one in the seed? I don't actually understand why there are 2* and why they are random.random
I would expect the sum of the weights to be equal to 1 so that might in the purpose?