search for: singlenode

Displaying 5 results from an estimated 5 matches for "singlenode".

2001 Jul 26
0
tree and rpart
...ree is one of the oldest packages on CRAN (Feb 2000 apart from adding the maintainer field), and I had been hoping that it would fade away in favour of rpart. 1) sys.parent needed to be replaced by parent.frame in all but the most recent R (post 1.3.0). 2) There have been various reports about singlenode trees. Almost all of these are the same in the S original. I've altered the code so that class "singlenode" inherits from class "tree" and added a few checks, so singlenode trees should be better supported. tree_1.0-3.tar.gz is at http://www.stats.ox.ac.uk/pub/R...
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 the tree function? My questions therefore are: How can I change the function arguments in either the rpart or the tree function so they wor...
2010 Nov 04
1
cross-validation for choosing regression trees
..., we set "mindev=0", and obtain a tree with 931 terminal nodes. However, when we further use the "cv.tree" function to run a 10-fold cross-validation, the error message is: "Error in prune.tree(list(frame = list(var = 1L, n = 6676, dev = 3.28220789569792, : can not prune singlenode tree". Is the "cv.tree" function respecting the mindev chosen in the tree function or what else might be wrong? Thanks, Shiyao [[alternative HTML version deleted]]
2007 Feb 20
1
tree()
...data = indi[1:4000, ]) Variables actually used in tree construction: character(0) Number of terminal nodes: 1 Residual mean deviance: 1.386 = 8346 / 6022 Misclassification error rate: 0.487 = 2933 / 6023 > plot(tree.model); text(tree.model) Error in plot.tree(tree.model) : cannot plot singlenode tree > I'm not getting any sort of tree formed. I wondered if anyone could point me in the right direction. Thanks. Stephen Choularton [[alternative HTML version deleted]]
2005 Apr 15
3
IBM BladeCenter HS20 blades
Greetings, We have purchased an IBM BladeCenter and I am in the process of testing Linux installation on these things (boot off SAN i.e. qla2300 driver, not using internal drives). My distro of choice is Debian, however, since I'm really not interested in trying to hand compile all the drivers, I decided to try CentOS (which I'm so far very impressed with). On boot, as with the