Liaw, Andy
2005-Sep-09 17:50 UTC
[R] usage of the trianed networks by nnet without R enviromen t
One possibility is to look at predict.nnet(), and - Write an R function that write out parts of an nnet object that are needed by predict.nnet() to an external file. - Re-write predict.nnet() in C, reading the model information from the external file. Obviously you'll also need the C source for the code that predict.nnet() calls, and modify those as needed to strip out dependency on R, if possible. Andy> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Baoqiang Cao > Sent: Friday, September 09, 2005 11:49 AM > To: R-help > Subject: [R] usage of the trianed networks by nnet without R > enviroment > > > Dear All, > > The nnet function in R is wonderful. I used it to train a > network, and I'd like to use that network without R > enviroment. Any suggestion so that I can start? > > Best, > Baoqiang Cao > >