Re: [R] about nnet package

From: Uwe Ligges <>
Date: Sat 23 Jul 2005 - 01:17:37 EST

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

> ------------------------------------------------------------------------
> ______________________________________________
> mailing list
> PLEASE do read the posting guide! mailing list PLEASE do read the posting guide! Received on Sat Jul 23 01:24:16 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:57 EST