Displaying 1 result from an estimated 1 matches for "trainresponse".
2010 Nov 26
1
Issues with nnet.default for regression/classification
Hi,
I'm currently trying desperately to get the nnet function for training a
neural network (with one hidden layer) to perform a regression task.
So I run it like the following:
trainednet <- nnet(x=traindata, y=trainresponse, size = 30, linout = TRUE, maxit=1000)
(where x is a matrix and y a numerical vector consisting of the target
values for one variable)
To see whether the network learnt anything at all, I checked the network
weights and those have definitely changed. However, when examining the
trainednet$fitted.v...