Getting this error even using just numerical values in neuralnet package: Error in cbind(1, pred) %*% weights[[num_hidden_layers + 1]] : requires numeric/complex matrix/vector arguments

Hello everyone!

I am trying to apply a ANN but is getting this error:

Error in cbind(1, pred) %*% weights[[num_hidden_layers + 1]] : requires numeric/complex matrix/vector arguments

I saw that its about using categorical data, but I have just numeric variables.

I've tried restart R and I checked the data frame, there is no NA values.
I've been trying for days and allways getting this same error.

Can someone help please?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.