On Feb 3, 2008 2:16 PM,  <[EMAIL PROTECTED]> wrote:
> 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.
>

I don't know of any automated way to do this for those models, but the
MARS model in the earth package can export a C-friendly version of the
prediction function. See ?format.earth for details. The bagged MARS
model in the caret package does the same (see ?format.bagEarth).

Max


-- 

Max

______________________________________________
R-help@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.

Reply via email to