Created
January 24, 2021 13:44
-
-
Save BenTenmann/115a78233e57613e6459ed2f56df91c4 to your computer and use it in GitHub Desktop.
tds_2
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
epochs = 500 # number of epochs | |
epsilon = 0.01 # learning rate || step size | |
inputs = list(product([-1,1], repeat=10)) # produces all 1024 permutations | |
w = uniform.rvs(size=11) # weight initialisation | |
ep_err = [] # initialise list for per-epoch error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment