I am trying to build the neural network by 1 hidden layer, 2 nodes. But when I am fitting neural network there is the error:
Error in [.data.frame(data,
[.data.frame