Displaying 20 results from an estimated 5000 matches similar to: "unlist (rpart.object.list)"
2007 Sep 10
1
using bootstrap for tree selection step in rpart
Hi
I was wondering if someone could help me with an rpart problem. I can see
that cross-validation is the default for tree selection in rpart -- has a
bootstrap method been implemented anywhere? I think this is a different
thing to 'bagging' or 'boosting' -- I still want 'one' tree at the end, I
just would like it chosen using a bootstrap method. Any ideas???
Thanks
2006 Jan 18
2
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below).
This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2009 Jan 22
4
dimnames in pkg "ipred"
Hello List,
I`m trying to make prediction using a bagged tree with the package ipred. I tried to follow the manual but I`m getting an error message. Also browsing through the list-archive I didn`t find any hint.
Maybe someone can help me?
selbag <- bagging(SOIL_UNIT ~., data=traindat.bin, coob=TRUE)
Error in dimnames(X) <- list(dn[[1L]], unlist(collabs, use.names = FALSE)) :
2009 Sep 11
0
ipred bagging segfault on 64 bit linux build
I wanted to report this issue here so others may not find themselves alone
and as the author is apparently active on the list.
I havent done an exhaustive test by any means, cause I dont have time. But
here's a small example. Apparently the "ns" argument is the one that is
killing it. I've gotten several different segfault messages, the only other
one I remember said "out
2003 Apr 16
2
Jackknife and rpart
Hi,
First, thanks to those who helped me see my gross misunderstanding of
randomForest. I worked through a baging tutorial and now understand the
"many tree" approach. However, it is not what I want to do! My bagged
errors are accpetable but I need to use the actual tree and need a single
tree application.
I am using rpart for a classification tree but am interested in a more
unbaised
2004 Feb 01
2
CART: rapart vs bagging
Hi,
Is here anyone knows the difference between rapart and bagging when grow a
CART tree?
Thanks
Qin
2008 Mar 06
1
Rpart and bagging - how is it done?
Hi there.
I was wondering if somebody knows how to perform a bagging procedure on a
classification tree without running the classifier with weights.
Let me first explain why I need this and then give some details of what I
have found out so far.
I am thinking about implementing the bagging procedure in Matlab. Matlab
has a simple classification tree function (in their Statistics toolbox) but
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviour of load)
Last week Giovanni Parrinello posted a message asking why various packages were loaded when he loaded an .Rdata file. Brian Ripley replied saying he thought it was because the saved workspace contained a reference to the namespace of ipred. (Correspondence copied below).
This begs the question: how did the reference to the namespace of ipred come to be in the .Rdata file? Brian did say it is
2011 Feb 18
0
Weights in bagged regression trees
Has anyone any experience of applying observational weights in bagging? I am performing regression trees (continuous data on bird abundance) and need to account for sampling intensity. In a single tree, i.e. a call of rpart, I can specify weights either by having a separate vector called weights, or by a variable called weights in the dataframe under analysis. Both produce sensible (and identical)
2007 Aug 30
0
rpart's loss matrix in ipred
Dear R users,
I have been using the rpart procedure to predict the occurrence of
depression in a large data file. Since the prevalence is very low (5%),
I have been using classification trees with a loss matrix that penalized
false negatives more than false positives. I have become interesested in
bagging these (successful!) classification trees, and have been using
the ipred package for
2003 Jun 04
2
plot rpart tree's from list object
Hello,
i want the post plot's from a rpart list object with
18 tree's , getting no error - but getting no files,too?
Perhaps i should using assign!?
for (i in 1:length(treeList)) {
post(treeList[[i]],filename=paste("Tree","i",sep=".ps"), title="Arbeitszufriedenheit",
digits=getOption("digits") - 0,use.n=TRUE)
}
many thanks for help,
2006 Jan 18
0
Loading of namespace on load of .Rdata (was strange behaviourof load)
Apologies - I was not trying to correct you Brian, but to explore how the situation could arise. I'm sure you had a good idea why the namespace (or a reference to it) had been saved, but this was not clear to me and I thought, possibly not to others either.
Thanks for putting me right over parent environments vs. enclosures - again I was not trying to correct you with the point I made there,
2004 Mar 19
2
How to collect trees grown by rpart
Jonathan,
Try making a list instead of an array. See ?list. Also, did you look into
random forests? I'm not sure what you want to do, but there might be
methods there to do some of the work for you.
Sean
On 3/19/04 1:12 PM, "Jonathan Williams"
<jonathan.williams at pharmacology.oxford.ac.uk> wrote:
> I would like to collect the trees grown by rpart fits in an array,
2004 Mar 13
4
nnet classification accuracy vs. other models
I was wandering if anybody ever tried to compare the classification
accuracy of nnet to other (rpart, tree, bagging) models. From what I
know, there is no reason to expect a significant difference in
classification accuracy between these models, yet in my particular case
I get about 10% error rate for tree, rpart and bagging model and 80%
error rate for nnet, applied to the same data.
Thanks.
2006 Jun 19
5
multivariate splits
Dear R users!
Does someone know about any algorithms / packages in R, that perform
classification / regression / decision trees using multivariate
splits?
I have done some research, but I found nothing. Packages "tree" and
"rpart" seem only to be able to do CART with univariate splits.
Thank you for your help!
B?lint
--
Cz?cz B?lint
PhD hallgat?
BCE KTK Talajtan ?s
2007 Feb 27
3
rpart minimum sample size
Is there an optimal / minimum sample size for attempting to construct a
classification tree using /rpart/?
I have 27 seagrass disturbance sites (boat groundings) that have been
monitored for a number of years. The monitoring protocol for each site
is identical. From the monitoring data, I am able to determine the
level of recovery that each site has experienced. Recovery is our
2001 Jul 25
1
Floating point "fuzz" and rpart?
I've been using rpart with R (1.3.0 Windows) for some time. I recently ran
one of my research data sets through the rpart routine and produced a
classification tree. I tried to replicate the results of the rpart
analysis on another machine of mine and discovered some startling
differences in the results. Puzzled, I went back to the raw data residing
on both machines. I printed out
2007 Apr 16
1
My First Function: cryptic error message
Dear List,
My first R function is a rip-off bagging algorithm from pg. 138 of
Everitt and Hothorn's "Handbook of Statistical Analyses using R"
(HSAUR). I'm using recursive partitioning to develop a set of useful
variables in diagnosing ADHD.
I'm running this in ESS in XEmacs 21.4.19, R 2.4.1 on Slackware Linux
11.0 with a 2.6 kernel.
This is almost an entire script,
2009 Aug 25
1
Partykit Document
Hi All,
I'm a newcomer to the R community, just started learning R. I need
to use partykit for developing CART. But I'm not getting any document/help
for using partykit/rpart.
http://www.agrocampus-ouest.fr/math/useR-2009/slides/Hothorn+Zeileis.pdfgives
some example, but it doesn't tell how my own data should be formatted
so that it can be accepted by partykit.
Example,
2006 Jul 18
1
Classification error rate increased by bagging - any ideas?
Hi,
I'm analysing some anthropometric data on fifty odd skull bases. We know the
gender of each skull, and we are trying to develop a predictor to identify
the
sex of unknown skulls.
Rpart with cross-validation produces two models - one of which predicts
gender
for Males well, and Females poorly, and the other does the opposite (Females
well, and Males poorly). In both cases the error