DEV Community

loading...

Discussion on: Build a flexible Neural Network with Backpropagation in Python

Collapse
tanaydin profile image
tanaydin sirin

after training done, you can make it like

Q = np.array(([4, 8]), dtype=float)
print "Input: \n" + str(Q)
print "Predicted Output: \n" + str(NN.forward(Q))