Neural Network Training System

(Redirected from train)
Jump to: navigation, search

A Neural Network Training System is a model-based training system that implements a neural network training algorithm (to solve a neural network training task which requires a trained neural network).




 X = np.array([ [0,0,1],[0,1,1],[1,0,1],[1,1,1] ])
 y = np.array(0,1,1,0).T
 syn0 = 2*np.random.random((3,4)) - 1
 syn1 = 2*np.random.random((4,1)) - 1
 for j in xrange(60000):
   l1 = 1/(1+np.exp(-(,syn0))))
   l2 = 1/(1+np.exp(-(,syn1))))
   l2_delta = (y - l2)*(l2*(1-l2))
   l1_delta = * (l1 * (1-l1))
   syn1 +=
   syn0 +=
This neural network attempts to use the input for predicting the output. Here programmer tries to predict the output column of the three input columns. Well, this was all I had to tell you about the neural network in 11 lines of python. This problem of simple backpropagation could be used to make a more advanced 2 layer neural network.