I have a neural network in R of type avNNet, fitted with Caret.
The name of the neural network is mynn.
I would like to send input values from Excel VBA to mynn and receive the predictions from mynn in Excel VBA.
Currently within R I send my input to mynn this way:
# make a single prediction
x <- [login to view URL](5.1, 3.5, 1.4)
names(x) <- c("Length", "Depth", "Height")
prediction <- predict(mynn, x)
I noticed there are several examples here [login to view URL], although I don't know how to construct the call above.