Last active
January 21, 2017 00:22
-
-
Save ugik/c8f28bb5029b2514ed2e638316b0b6cd to your computer and use it in GitHub Desktop.
simple ANN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy | |
# The training set. We have 4 examples, each consisting of 3 input values | |
# and 1 output value. | |
training_set_inputs = array([[0, 0, 1], [1, 1, 1], [1, 0, 1], [0, 1, 0]]) | |
training_set_outputs = array([[0, 1, 1, 0]]).T |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment