
I tried to implement backpropagation algorithm for regression. But then I encountered this error.
Error in if (reached.threshold < min.reached.threshold) { :
missing value where TRUE/FALSE needed
Below is my backpropagation algorithm code :
nn.bp < neuralnet(f, data = scaled, hidden = 2, learningrate = 0.01,
algorithm = "backprop", linear.output = TRUE)
