Displaying 20 results from an estimated 10000 matches similar to: "Node Information - Decision Trees"
2006 Jan 23
1
Trees
Hi.,
I would like to conduct a CHAID tree analysis - Chi-square Automatic
Interaction Detector.
>From what I can make out from MASS, tree, rpart, and a quick search it
isn't available
as a package.
Is that correct or have I missed it? Has anyone an available
implementation of it?
Thanks
Stephen
Nana Mail <http://mail.nana.co.il> - Get Your Free Personal Outlook 2003
Now
2005 Sep 09
1
Finding a decision tree's leaf node from a new value
Dear mailinglist members,
I have the following problem: I run a decision tree using the rpart function and, afterwords, I try to find to which leaf node a new register (not used to build the decision tree) belongs to.
I will try to explain better:
rpart.tree <- rpart(target.value ~., data)
leaf.node <- new.function(rpart.tree, new.register)
The new register has all the explanatory values
2001 Jul 02
1
text.rpart: Unwanted NA labels on terminal nodes (PR#1009)
Brian
The following (which is new to rw1030) occurs with both
Windows 98 & Windows ME. I have not tested behaviour
under Unix or Linux, but I expect it is no different.
text.rpart() prints unwanted NAs (presumably in the
splitting criterion position) on terminal nodes.
Criterion <- factor(paste("Leaf", 1:5))
Node <- factor(1:5)
2008 Jul 21
2
CART and CHAID
Can I say that RPART is a modified algo of CART and PARTY a modified of
CHAID?
Thanks.
----
Chua Siang Li
Consultant - Operations Research
Acceval Pte Ltd
Tel: 6297 8740
Email: siang.li.chua at acceval-intl.com
Website: www.acceval-intl.com
This message and any attachments (the "message"...{{dropped:12}}
2009 Feb 27
0
[SoC09-Idea] Party On!
Hi Manuel,
find our SoC proposal below.
Best wishes,
Torsten & Achim
_______________________________________________________________________
Party On! New Recursive Partytioning Tools.
Mentor: Torsten Hothorn & Achim Zeileis
Short Description:
The aim of the project is the implementation of recursive partitioning
methods ("trees") which aren't available in R at the
2012 Mar 05
1
decision/classification trees with fewer than 20 objects
Hi!
I'm trying to construct and plot a decision tree to class a set of only 8 objects and tried to use the rpart and tree function, but get a error message both times:
rpart: fit is not a tree, just a root
tree: cannot plot singlenode tree
I read in the post 'question regression trees' that rpart doesn't split a set of fewer than 20 objects...so I guess the same holds true for
2009 Jul 26
3
Question about rpart decision trees (being used to predict customer churn)
Hi,
I am using rpart decision trees to analyze customer churn. I am finding that
the decision trees created are not effective because they are not able to
recognize factors that influence churn. I have created an example situation
below. What do I need to do to for rpart to build a tree with the variable
experience? My guess is that this would happen if rpart used the loss matrix
while creating
2009 Jun 04
0
ordered Twoing criterion in classification trees
Dear R users,
I'm using the rpart package to build classification trees. I'm interested in
implementing the ordered Twoing as a splitting criterion.
Does anyone have experience with this task ?
Thank you for your help
Paolo
Paolo Radaelli
Dipartimento di Metodi Quantitativi per le Scienze Economiche ed Aziendali
Facolt? di Economia
Universit? degli Studi di Milano-Bicocca
Via Bicocca
2005 Aug 26
2
learning decision trees with one's own scoring functins
Hi netters,
I want to learn a decision tree from a series of instances (learning data).
The packages
tree or rpart can do this quite well, but the scoring functions (splitting
criteria) are
fixed in these packages, like gini or something. However, I'm going to use
another scoring
function.
At first I wanna modify the R code of tree or rpart and put my own scoring
function in. But it
2005 Aug 14
1
How to add decision trees into a list?
Hi,
I am somewhat new to R so this question may be
foolish, but is it possible to add decision trees into
a list, array or vector in R?
I am trying to build a collection (ensemble) of
decision trees. Every time a new instance arrive I
need to get the prediction of each decision tree. I
have tried to add a decision tree into a variable but
without luck. Is a special package needed perhaps?
This
2009 Nov 24
1
Decision trees with factors and numericals
Hi all,
Does any of you know how to make a decision tree when the data set contains factors and numericals?
I've got a data frame with 3 columns, where y and x1 are numerical and x2 contains factors. Is it possible to use the rpart package, and in that case how? Otherwise, is there another alternative?
This is what I've tried so far
> rpart(LT50_NA ~ Raf + Antho,
2017 Oct 05
0
fraction of null deviance explained by each node/variable in regression trees
I have used packages rpart, mvpart and tree for classification and
regression trees. I want to calculate fraction of null deviance explained
by each node and variable in the tree. For instance, at the first split,
this would be (1 - (sum of residual deviance in each of the two
leaves)/deviance at the root). In the subsequent splits, this formula is
slightly different.
There probably is a function
2004 Mar 08
3
Decision Trees
I am familiar with the rpart and tree packages for classification and
regression trees. However, quite a bit of the research in the
transportation community relating to decision trees uses the C4.5 family of
algorithms by Quinlan. Are there any plans to make a C4.5 (or a derivative
of it) available to R? If not, then I might use the WEKA Java package (
http://www.cs.waikato.ac.nz/ml/weka) that
2006 Apr 17
0
Problem getting R's decision tree for Quinlan's golf exam ple data [Broadcast]
See ?rpart.control. I get:
> golf.rp = rpart(Outlook ~ ., golf, control=rpart.control(minsplit=1))
> golf.rp
n= 14
node), split, n, loss, yval, (yprob)
* denotes terminal node
1) root 14 9 rain (0.2857143 0.3571429 0.3571429)
2) Temperature< 71.5 6 2 rain (0.1666667 0.6666667 0.1666667)
4) Temperature< 64.5 1 0 overcast (1.0000000 0.0000000 0.0000000) *
5)
2011 Nov 04
1
Decision tree model using rpart ( classification
Hi Experts,
I am new to R, using decision tree model for getting segmentation rules.
A) Using behavioural data (attributes defining customer behaviour, ( example
balances, number of accounts etc.)
1. Clustering: Cluster behavioural data to suitable number of clusters
2. Decision Tree: Using rpart classification tree for generating rules for
segmentation using cluster number(cluster id) as target
2011 Apr 08
4
Rpart decision tree
Dear useRs:
I try to plot an rpart object but cannot get a nice tree structure plot. I
am using plot.rpart and text.rpart (please see below) but the branches that
connect the nodes overlap the text in the ellipses and rectangles. Is there
a way to get a clean nice tree plot (as in the Rpart Mayo report)? I work
under Windows and use R2.11.1 with rpart version 3.1-46.
Thank you.
Tudor
...
2006 Apr 16
0
Problem getting R's decision tree for Quinlan's golf example data
Newbie question, but I've checked archives etc. Am trying to reproduce
in R Quinlan's trivial example of the "golf" decision tree. The data file
of 14 examples follows (read in via read.table()):
Outlook Temperature Humidity Windy PlayDontPlay
1 sunny 85 85 false DontPlay
2 sunny 80 90 true DontPlay
3 overcast 83 78 false Play
4 rain 70 96 false Play
5 rain 68 80 false Play
6
2009 Dec 15
1
user-written splits in rpart
Hi,
I am trying to write my own split function for rpart. The aim is to do, instead of anova, a linear regression to determine the split (minimize some criterion like sum of rss left and right of the split). The regression (lm) should simply use the dependent and independent variables passed to rpart.
I am aware of the example provided in the rpart source code, but stumbled on similar problems
2010 Aug 13
1
decision tree finetune
My decision tree grows only with one split and based on what I see in
E-Miner it should split on more variables. How can I adjust splitting
criteria in R?
Also is there way to indicate that some variables are binary, like variable
Info_G is binary so in the results would be nice to see "2) Info_G=0"
instead of "2) Info_G<0.5".
Thank you in advance!
And thanks for Eric who
2002 Jul 04
1
rpart help please
Hi all,
I am trying to get to grips with rpart, and find it not very easy given the
information that comes with the package. Contrary to e.g. the ctest package docs, it
doesn't say when "an rpart" could be used, and/or how to interpret the results. Here
are a few of the open questions I have:
1) Read in ?rpart: ...method: one of.... If y is a survival object... A similar