How to do it...

This section walks through the steps to set up the weights and bias of the neural network.

  1. Set the randomness of the value generator using the following script:
np.random.seed(12345)
  1. Set the weights and biases using the following script:
w1 = np.random.randn()
w2 = np.random.randn()
b= np.random.randn()