Created
March 27, 2018 14:45
-
-
Save mempirate/0009c3bc208b69c87d3d050815f79b31 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
# Set seed for pseudo-randomness | |
np.random.seed(1) | |
# Initialize synaptic weights randomly from -1 to 1 with 0 as the mean | |
synaptic_weights = 2 * np.random.random((3, 1)) - 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment