learn_bp11 | R Documentation |
An 11 line version of the backpropagation function.
learn_bp11(X, y)
X |
input data |
y |
output data |
http://qua.st/handcoding-neural-network/ http://iamtrask.github.io/2015/07/12/basic-python-network/
learn_bp
# construct new data X = matrix(c(0,0,1,0,1,1,1,0,1,1,1,1), nrow=4, byrow=TRUE) y = matrix(c(0,1,1,0),nrow=4) # run 11 lines function learn_bp11(X, y) # view output syn0 syn1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.