[R] about nnet package

Uwe Ligges ligges at statistik.uni-dortmund.de
Fri Jul 22 17:17:37 CEST 2005


Baoqiang Cao wrote:

> Dear All,
> 
> I'm learning to train a neural network with my training data by using nnet package, then evaluate it with a evaluation set. My problem here is that, I need the trained network to be used in future, so, what should I store? and How? Any other options other than nnet package? Any example will be highly appreciated!
> 
> Best, 
>  Baoqiang Cao


See ?nnet which point you to its predict method.

You say

nnetObject <- nnet(.....)

Now store the nnetObject and use it later as in:

predict(nnetObject, newdata)



Uwe Ligges






> 
> 
> ------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list