Original article was published on Artificial Intelligence on Medium
if __name__ == “__main__”:
X = np.array([[2,4,6,8,10],
y = np.array([,,,])
nn = NeuralNetwork(X,y)
for i in range(900500):
Im trying to train the set to return 1 if the data set is even and 0 if it is odd.
This is the output Im receiving. Could you assist me, where am I going wrong?