Created
July 20, 2015 12:49
-
-
Save miloharper/b8220a5b3acb27728c4d to your computer and use it in GitHub Desktop.
How to express the training set as a matrix in Python.
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
training_set_inputs = array([[0, 0, 1], [1, 1, 1], [1, 0, 1], [0, 1, 1]]) | |
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