Skip to content
Prev 181309 / 398502 Next

accuracy of a neural net

You might want to use cross-validation or the bootstrap to get error
estimates. Also, you should include the PCA step in the resampling
since it does add noise to the model.

Look at the pcaNNet and train functions in the caret package.

Also your code for the nnet would imply that you are predicting a
continuous outcome (i.e. linear function on the hidden units), so a
confusion matrix wouldn't be appropriate.

Max
On Sun, May 24, 2009 at 7:28 AM, onyourmark <william108 at gmail.com> wrote: