powered by
learn_bp11(X, y)
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
Run the code above in your browser using DataLab