Last active
January 22, 2017 00:18
-
-
Save malaikannan/06d2f0ff6d2299068c6d186e0ed7c1f9 to your computer and use it in GitHub Desktop.
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
#input dataset 3 columns and 4 rows | |
x = np.array([[0,0,1],[0,1,1],[1,0,1],[1,1,1]]) | |
#Transposing Y to 4 rows and 1 column | |
y = np.array([[0,0,1,1]]).T | |
#for consistency of random seed | |
#If you are in a relationship, use this to remember your anniversary date. | |
#As long as your coding and training Deep Learning Models you will never forget your anniversary | |
np.random.seed(12345) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment