[R] Decision Tree in Python or C++?
Liaw, Andy
andy_liaw at merck.com
Wed Sep 8 14:41:48 CEST 2010
For Python, check out the project "orange":
http://www.ailab.si/orange/doc/catalog/Classify/ClassificationTree.htm
Not sure about C++, but OpenDT is in C:
http://opendt.sourceforge.net/
Looks like OpenCV has both Python and C++ interface (didn't see Python interace to decision tree, though):
http://opencv.willowgarage.com/documentation/cpp/decision_trees.html
Andy
> -----Original Message-----
> From: r-help-bounces at r-project.org
> [mailto:r-help-bounces at r-project.org] On Behalf Of Wensui Liu
> Sent: Saturday, September 04, 2010 5:14 PM
> To: noclue_
> Cc: r-help at r-project.org
> Subject: Re: [R] Decision Tree in Python or C++?
>
> for python, please check
> http://onlamp.com/pub/a/python/2006/02/09/ai_decision_trees.html
>
> On Sat, Sep 4, 2010 at 11:21 AM, noclue_ <tim.liu at netzero.net> wrote:
> >
> >
> > Have anybody used Decision Tree in Python or C++? (or
> written their own
> > decision tree implementation in Python or C++)? My goal is
> to run decision
> > tree on 8 million obs as training set and score 7 million
> in test set.
> >
> > I am testing 'rpart' package on a 64-bit-Linux + 64-bit-R
> environment. But
> > it seems that rpart is either not stable or running out of
> memory very
> > quickly. (Is it because R is passing everything as copy
> instead of as object
> > reference?)
> >
> > Any idea would be greatly appreciated!
> >
> > Have a nice weekend!
> > --
> > View this message in context:
> http://r.789695.n4.nabble.com/Decision-Tree-in-Python-or-C-tp2
> 526810p2526810.html
> > Sent from the R help mailing list archive at Nabble.com.
> >
> > ______________________________________________
> > 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.
> >
>
>
>
> --
> ==============================
> WenSui Liu
> wensliu at paypal.com
> statcompute.spaces.live.com
> ==============================
>
> ______________________________________________
> 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.
>
Notice: This e-mail message, together with any attachme...{{dropped:11}}
More information about the R-help
mailing list