[R] usage of the trianed networks by nnet without R enviromen t
Liaw, Andy
andy_liaw at merck.com
Fri Sep 9 19:50:35 CEST 2005
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
>
>
More information about the R-help
mailing list