[R] use classificators learned in R in "real-life", e.g. C

From: <sich_at_gmx.de>
Date: Sun, 03 Feb 2008 20:16:38 +0100


Hi there,
I am interested in using R for machine learning (supervised classification). Currently, I have been investigating especially the rpart, tree, and randomForest package, and have achieved first results.

are there any experiences, how the learned classificators could be used in e.g. C ?
in other words, I want to "transfer" the learned predictor from R
to C-code.

for e.g. rpart, this could of course be done by hand, but, if the tree is sufficiently complex, this is very cumbersome. and for randomForest (which seems to work better for me), this would be even more complex.

maybe one way would be to call R from C, but I expect the overhead would be quite high - I need to perform thousands of queries

so maybe there is a convenient way to export the classificators to C?

thanks a lot,
best regards
lars

--

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 04 Feb 2008 - 07:20:59 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 04 Feb 2008 - 14:30:11 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive