Thu, 9 Oct 2008 14:38:44 -0400
> > Von: "Liaw, Andy" <[EMAIL PROTECTED]>
> > An: "Christian Sturz" <[EMAIL PROTECTED]>, r-help@r-project.org
> > Betreff: RE: [R] Dump decision trees of randomForest object
>
> > See the getTree() function in
-help@r-project.org
Subject: Re: [R] Dump decision trees of randomForest object
I've tried the getTree() function and printed a decision tree with
print().
However, it seems to me that it's hard to parse this representation and
translate it into equivalent if-then-else C constructs. Ar
Von: "Liaw, Andy" <[EMAIL PROTECTED]>
> An: "Christian Sturz" <[EMAIL PROTECTED]>, r-help@r-project.org
> Betreff: RE: [R] Dump decision trees of randomForest object
> See the getTree() function in the package. Also, the source package
> contains C code t
See the getTree() function in the package. Also, the source package
contains C code that does the prediction that you may be able to work
from.
Andy
From: Christian Sturz
>
> Hi,
>
> I'm using the package randomForest to generate a classifier
> for the exemplary
> iris data set:
>
> data(ir
Hi,
I'm using the package randomForest to generate a classifier for the exemplary
iris data set:
data(iris)
iris.rf<-randomForest(Species~.,iris)
Is it possible to print all decision trees in the generated forest?
If so, can the trees be also written to disk?
What I actually need is to translat
5 matches
Mail list logo