search for: tree

Displaying 20 results from an estimated 26897 matches for "tree".

Did you mean: free
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 corre...
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 undocumen...
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() valid.out...
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) => tree/elo/var/www/lokaalx/openx-htdocs/etc/plugins/.svn/prop-base/openX3rdPartyServers.zip.svn-base failed: Too many links (31) rsync: link "/par...
2008 Jul 30
0
[LLVMdev] llvm-gcc fortran bootstrap broken
...vm/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 build_helper_func_decl (tree, tree); extern bool building_block_byref_decl; -extern tree invoke_impl_ptr_type; extern tree build_block_byref_decl (tree, tree, tree); extern tree build_block_ref_decl (tree, tree); extern tree begin_block (void); Index: gcc-4.2.llvm/gcc/dwarf2out.c ==============...
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 proble...
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 lev...
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,...
2009 Mar 11
2
Couple of Questions about Classification trees
...in both. It's actually the same set of data split into two. The rows are made of 5 different numbers. They do represent something but it would take too long to explain. I want to try and find a classification rule for the 5 numbers in the rows based on the columns so I created a classification tree and plotted that and then pruned it. My question is how do you print the misclassification rate at each node on the actual diagram of the classification tree. I can't seem to get it up there. In my notes it uses gmistext() but I have a feeling that it's for Splus rather than R as gmistext()...
2016 Dec 31
2
Baffling regress/forwarding.sh failure, new in 7.4p1
...e anything out of this? run test forwarding.sh ... + _POSIX2_VERSION=199209 + export _POSIX2_VERSION + uname -s + [ ! -z ] + PORT=4242 + [ -x /usr/ucb/whoami ] + whoami + whoami + USER=openssh-tests + OBJ=/tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress + [ x/tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress = x ] + [ ! -d /tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress ] + SCRIPT=/tmp/autopkgtest-virt-lxc.shared.hhquaatj/downtmp/autopkgtest_tmp/user/tree/regress/fo...
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...
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 fsyncs */ #define BTRFS_TREE_LOG_OBJECTID -6ULL #define BTRFS_TREE_LOG_FIXUP_OBJECTID -7ULL + +/* for space balancing */ +#define BTRFS_TREE_RELO...
2014 Dec 16
3
[LLVMdev] Lowering switch statements with PGO
...;> About two months ago I posted a patch that hoisted the hottest case >> >> statement from a switch statement during ISelLowering. >> >> >> >> See: http://reviews.llvm.org/D5786 >> >> >> >> Sean was rather adamant about using a Huffman tree (and I agree this >> is >> >> a >> >> more complete solution), so I'd like to put a patch together. >> > >> > I think this sounds really cool! >> > >> >> That being >> >> said, I have a few questions. >> >...
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)...
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 "...
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 h...
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
...(YAJL_LIBS) \ + $(JANSSON_LIBS) \ $(LIBINTL) \ -lgnu diff --git a/builder/yajl-c.c b/builder/yajl-c.c index 3c2402e42..e53755f55 100644 --- a/builder/yajl-c.c +++ b/builder/yajl-c.c @@ -23,24 +23,17 @@ #include <caml/memory.h> #include <caml/mlvalues.h> -#include <yajl/yajl_tree.h> +#include <jansson.h> #include <stdio.h> #include <string.h> -/* GCC can't work out that the YAJL_IS_<foo> test is sufficient to - * ensure that YAJL_GET_<foo> later doesn't return NULL. - */ -#if defined(__GNUC__) && __GNUC__ >= 6 /* gcc...
2006 Jul 10
1
[LLVMdev] enabling Debian x86_64 for llvm 1.7
...rict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -DHAVE_CONFIG_H -DENABLE_LLVM -D__STDC_LIMIT_MACROS -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include -I/home/ahs3/tmp/llvm-1.7/llvm/include ../../gcc/tree-nomudflap.c -o tree-nomudflap.o rm -rf libbackend.a ar rc libbackend.a tree-chrec.o tree-scalar-evolution.o tree-data-ref.o tree-cfg.o tree-dfa.o tree-eh.o tree-ssa.o tree-optimize.o tree-gimple.o gimplify.o tree-pretty-print.o tree-into-ssa.o tree-outof-ssa.o tree-ssa-ccp.o tree-vn.o tree-ssa-dce....
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...