Learn R Programming

learNN (version 0.2.0)

learn_bp: Learn Back Propagation

Description

Learn Back Propagation

Usage

learn_bp(X, y)

Arguments

X
input data
y
output data

References

http://qua.st/handcoding-neural-network/

http://qua.st/handcoding-neural-network/ http://iamtrask.github.io/2015/07/12/basic-python-network/

Examples

Run this code
# create 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 full function
learn_bp(X, y)

Run the code above in your browser using DataLab