search for: trees

Displaying 20 results from an estimated 26899 matches for "trees".

Did you mean: tree
2011 Mar 23
1
Corrupt trees
Hi Everyone, I have been using the "tree" package for a while with no problems until now. When I run predict(tree, newdata), I get an error with the message "Corrupt tree" for about 50% of the trees that I generate with tree. For other trees, the predict function completes with no errors. I haven't identified a correlation between the corrupt trees and the working tree. It is the same code with the same data set. The only difference is that the training data is sampled randomly from the...
2005 May 12
1
modifications to text.tree function
Hi. I have to make some minor modifications to the text.tree function - I don't like the way it prints the split labels (they are too long in my case and overlap). I tried to make s simple modification to the text.tree function so that it will limit the number of significant digits in tree labels, but could not - the original function uses some undocumented "treeco" function, which
2010 May 26
1
how to Store loop output from a function
HI, Dear R community, I am writing the following function to create one data set(*tree.pred*) and one vector(*valid.out*) from loops. Later, I want to use the data set from this loop to plot curves. I have tried return, list, but I can not use the *tree.pred* data and *valid.out* vector. auc.tree<- function(msplit,mbucket) { * tree.pred<-data.frame()
2011 Dec 01
1
Hlink node data for 570645 already has path ...
When syncing one backup system (running dirvish, but that's not really relevant) to a second long-term backup system which uses btrfs snapshots, I get the following output: rsync: link "/parasite.oob.telegraaf.net/vservers-var-www/tree/elo/var/www/lokaalx/openx-htdocs/etc/xmlcache/.svn/prop-base/cache_etc-changes_schema-tables-core-12934.bin.svn-base" (in backup-aquagirl) =>
2008 Jul 30
0
[LLVMdev] llvm-gcc fortran bootstrap broken
And how about this one for handling the C specific invoke_impl_ptr_type? Index: gcc-4.2.llvm/gcc/c-common.h =================================================================== --- gcc-4.2.llvm.orig/gcc/c-common.h 2008-07-30 21:01:49.000000000 +0200 +++ gcc-4.2.llvm/gcc/c-common.h 2008-07-30 21:01:56.000000000 +0200 @@ -1164,7 +1164,6 @@ extern struct block_sema_info *cur_block; extern tree
2001 Jun 09
1
tree() - Tree is too big
I am using tree() in the library tree to learn regression trees. Once in a while I am getting the error "Tree is too big". From the same data set, but with randomized subsets I am learning several tree model and in the end of the day I would like to look at some of the properties across trees. My problem: I have for loop containing a call to tree()....
2008 Jul 24
2
factor question
Hi! Suppose I have a factor: > fac1 <- factor(rep(c("dog","cat","tree"),c(2,3,4))) > fac1 [1] dog dog cat cat cat tree tree tree tree Levels: cat dog tree > length(fac1) [1] 9 Now I want to get rid of the dogs: > fac1 <- fac1[3:9] > fac1 [1] cat cat cat tree tree tree tree Levels: cat dog tree > How should I remove the dog from the
2007 Nov 11
2
using RSperl with "tree" package
Hello, I am trying to use the "tree" package in R with RSperl. I have generated a regression tree using the "tree" package in R and saved it in a file say "RegTree_2.Rdata" If I use the predict function from R command line, it works fine. However, I want to use it from within perl using RSperl. To do that, here is what I do, my $regTree =
2009 Mar 11
2
Couple of Questions about Classification trees
...t(predict.tree) I sort of don't get a classification tree, I get the x axis labelled 1, the y axis labelled 2 and then about 4 small black rectangles scattered across the plot. Thanks in Advance. -- View this message in context: http://www.nabble.com/Couple-of-Questions-about-Classification-trees-tp22461673p22461673.html Sent from the R help mailing list archive at Nabble.com.
2016 Dec 31
2
Baffling regress/forwarding.sh failure, new in 7.4p1
I have the OpenSSH regression tests hooked up to run in Debian and Ubuntu's "autopkgtest" system, so that they're automatically run on uploads of OpenSSH itself or any of its dependencies. This is especially good for enforcing interoperability between it and other SSH implementations, but it's also pretty good for throwing up occasional extremely-hard-to-debug failures since
2007 Feb 20
1
tree()
Hi I am trying to use tree() to classify movements in a futures contract. My data is like this: diff dip dim adx 1 0 100.00000 8650.0000 100.00000 2 0 93.18540 2044.5455 93.18540 3 0 90.30995 1549.1169 90.30995 4 1 85.22030 927.0419 85.22030 5 1 85.36084
2008 Sep 25
0
[PATCH 2/4] Add shared reference cache
Hello, This patch adds shared reference cache support. The new space balancing code plays with multiple subvols at the same time, So the old per-subvol reference cache isn''t fit for it. Regards Yan Zheng --- diff -r 47aa0c51998a ctree.h --- a/ctree.h Thu Sep 25 16:00:36 2008 +0800 +++ b/ctree.h Thu Sep 25 16:02:11 2008 +0800 @@ -80,6 +80,10 @@ /* does write ahead logging to speed up
2014 Dec 16
3
[LLVMdev] Lowering switch statements with PGO
...I think this sounds really cool! >> > >> >> That being >> >> said, I have a few questions. >> >> >> >> The current switch lowering code sorts based on case values and is >> >> lowered >> >> with a combination of binary trees, lookup tables, bit tests and >> magic. >> >> If we lower the switch based on branch probabilities, I think the >> most >> >> reasonable approach would be to disable the lookup tables and stick >> with >> >> a >> >> purely tree struc...
2007 Oct 28
1
tree problem
I am trying to use tree to partition a data set. The data set has 3924 observations. Partitioning seems to work for small subsets of the data, but when I use the entire data set, no partitioning occurs. The variables are: RESP respondent to a survey (0 = not a respondent, 1 = respondent) AGE_P Age (continuous) ORIGIN_I Hispanic Ethnicity (1 = Hispanic, 2 = non-Hispanic) RACRECI2 Race
2010 Nov 04
1
cross-validation for choosing regression trees
Dear All, We came across a problem when using the "tree" package to analyze our data set. First, in the "tree" function, if we use the default value "mindev=0.01", the resulting regression tree has a single node. So, 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
2008 May 20
1
how to save many trees within a loop?
Hi, I would like to save many trees created in a loop as different ones. I can plot them, but I can not get the whole tree properties saved. I paste the script below Also, How can I perform multivariate trees?, that is predicting a vector o values, not a simple scalar observation. Thanks in advance Angel for (i in 1:7){#loop para ha...
2002 Feb 08
0
packages for extracting subtrees
...to get suggestions for improvements (including any examples that it breaks down on). Regards, Matthew Wiener Applied Computer Science and Mathematics Department Merck Research Labs Rahway, NJ 07065-0900 732-594-5303 ----------------------------------------- First the two functions: f.get.subtrees is really just a shell to loop through f.make.subtree. (After the functions there's a .Rd file.) "f.get.subtrees" <- function(tree, k = NULL, h = NULL, add.element = NULL){ ## tree is a tree, k and h are as in cutree. ## additional elements is the name of any...
2018 Feb 12
0
[PATCH v2 1/1] Switch from YAJL to Jansson
While YAJL mostly works fine, it did not see any active development in the last 3 years. OTOH, Jansson is another JSON C implementation, with a very liberal license, and a much nicer API. Hence, switch all of libguestfs from YAJL to Jansson: - configure checks, and buildsystem in general - packages pulled in the appliance - actual implementations - contrib scripts - documentation This also
2006 Jul 10
1
[LLVMdev] enabling Debian x86_64 for llvm 1.7
In trying to package up LLVM for Debian, it appears that x86_64 is no longer a supported architecture -- so, my first question is, is that correct? Best I can tell, the only thing that's supposed to work for x86_64 is the C backend. For Debian, I need to build everything from scratch. When trying to build llvm-gcc4 from source, though, I get part way through the build and am told that
2003 Nov 06
2
created data doesn't remain when split...
I've been trying to figure out why the following is happening.... I've got some data I'll load in from a file... rm(list=ls(all=TRUE)) trees <- read.table( "c:/cruisepak/data.txt", header=T) trees$ct <- 1 And when I create some temp variable, then split the data to perform further processing, the additional column doesn't maintain the data correctly.... mtrees <- trees[trees$m == 1,] ctrees <- trees[trees$m =...