Skip to content

Instantly share code, notes, and snippets.

@ugik
Created January 24, 2017 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ugik/b8a89263e598f0e95e69dbcb50045ad3 to your computer and use it in GitHub Desktop.
Save ugik/b8a89263e598f0e95e69dbcb50045ad3 to your computer and use it in GitHub Desktop.
text ANN synapse weights
X = np.array(training)
y = np.array(output)
start_time = time.time()
train(X, y, hidden_neurons=20, alpha=0.1, epochs=100000, dropout=False, dropout_percent=0.2)
elapsed_time = time.time() - start_time
print ("processing time:", elapsed_time, "seconds")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment