[R] R packages/code for CART that is written entirely in R (not C)
David Winsemius
dwinsemius at comcast.net
Wed Nov 11 20:00:19 CET 2015
> On Nov 11, 2015, at 9:25 AM, Andrew Crane-Droesch <andrewcd at gmail.com> wrote:
>
> Dear List,
>
> I'd like to make a few modifications to the typical CART algorithm, and
> I'd rather not code the whole thing from scratch. Specifically I want
> to use different in-sample and out-of-sample fit criteria in the split
> choosing and cross-validation stages.
>
> I see however that the code for CART in both the rpart and the tree
> packages is written in C.
>
> Two questions:
>
> * Where is the C code? It might be possible to get a C-fluent
> programmer to help me with this.
> * Is there any code for CART that is written entirely in R?
Read: "R Help Desk: Accessing the Sources” by Uwe Ligges in:
https://www.r-project.org/doc/Rnews/Rnews_2006-4.pdf
The current sources are here:
https://svn.r-project.org/R/trunk/
>
> Thanks,
> Andrew
>
> [[alternative HTML version deleted]]
For future questions, this is a plain text mailing list.
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
—
David Winsemius
Alameda, CA, USA
More information about the R-help
mailing list