search for: ctree

Displaying 20 results from an estimated 213 matches for "ctree".

Did you mean: tree
2010 Aug 13
1
[PATCH] btrfs: avoid duplications by moving the static int array from header to c file
The commit 607d432d referred a static int array defined in ctree.h, and a static inline function (btrfs_super_csum_size) using this array, the obvious problem is every c file using that function would have a local copy of that int array, multiple c files calling would result multiple copies of that array: $ nm fs/btrfs/btrfs.ko | grep btrfs_csum_sizes 0000010c...
2010 Jun 21
2
ctree
Hello, This is a re-submittal of question I submitted last week, but haven't rec'd any responses. I need to extract the probabilities used to construct the barplots displayed as part of the graph produced by plot("ctree"). For example, library(party) iris.ct <- ctree(Species ~ . , data = iris) plot(iris.ct) Instead of a simple example with only 4 terminal nodes, my analysis produces 55 terminal nodes, so unless someone is really interested I'm only using the iris data as an example. This is the mo...
2010 Mar 09
2
ctree - party package multivariate response variables
Hi, I have a problem with ctree of party package. I have data on distribution of more than one species (about 50 species) and I would like identify the relation of this multivariate object (species distribution) with a number of explanatory variables. rs is the name of my dataframe containing the species (columns from 2 to 51) a...
2008 Jun 30
1
ctree (party) plot meaning question
I tried to use ctree but am not sure about the meaning of the plot. My.data.ct<-ctree(Resp~., data=My.data) plot(My.data.ct) My data.frame contains 88 explanatory variables (continous,ordered/unordered multistate,count data) and one response with two groups. In the plot are only two variables shown (2 internal no...
2011 Apr 27
1
ctree and survival problem
Dear all, I was intrigued by the ctree command and wanted to check it out. I first ran the demo with example(ctree) and did get the survival graphs in the end. Upon doing this with my own data and yielding a "Invalid operation on a survival time" I tried to rerun example(ctree) and now I also get "Invalid operation on a s...
2011 Feb 16
1
caret::train() and ctree()
Like earth can be trained simultaneously for degree and nprune, is there a way to train ctree simultaneously for mincriterion and maxdepth? Also, I notice there are separate methods ctree and ctree2, and if both options are attempted to tune with one method, the summary averages the option it doesn't support. The full log is attached, and notice these lines below for method="ct...
2009 Oct 05
1
btrfs-progs trivial: Double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h
Hello, I noticed a double definition of BTRFS_CSUM_TYPE_CRC32 in ctree.h and attach a patch that removes it. Best regards, Dirk
2012 Oct 02
3
[Btrfs-next] bulid failure at fs/btrfs/ctree.h
Hello Josef, FYI build failure occured in fs/btrfs/ctree.h. CC fs/btrfs/super.o In file included from fs/btrfs/delayed-inode.h:30:0, from fs/btrfs/super.c:45: fs/btrfs/ctree.h:3235:1: error: expected identifier or ‘(’ before ‘<<’ token make[3]: *** [fs/btrfs/super.o] Error 1 make[2]: *** [fs/btrfs] Error 2 make[1]: *** [fs]...
2009 Nov 20
1
ctree (party) changing font sizes in plots
When plotting Binary Trees (ctree) from the party package, is there a way to adjust the font sizes of the leaves? require(party) irisct <- ctree(Species ~ ., data = iris) plot(irisct) I want to adjust the font sizes for "Node 2", "Node 5", etc. I'd also like to be able to adjust the font size...
2011 Apr 29
0
Plot multiple ctrees in the same figure
Dear all: Is there a way one could plot two conditional inference trees (party package, ctree) in a figure specified by layout? My attempts failed as plot.party seemed to take over the layout functionality and forced a single ctree plot to be displayed. A brief (non reproducible) example together with the intended behavior follows below. I hope I am not missing something obvious. My sys...
2012 Jan 06
1
Please help!! How do I set graphical parameters for ploting ctree()
I'm trying to understand how to set graphical parameters for trees created with the party package.  For example take the following code:   library(party)     data(airquality)     airq <- subset(airquality, !is.na(Ozone))     airct <- ctree(Ozone ~ ., data = airq,                    controls = ctree_control(maxsurrogate = 3))     plot(airct)   My problem is, I've got a ctree that has 14 terminal nodes, and as a result of the default graphical paramters of plot(ctree), all of the text is completely undreadable (decison node text i...
2011 Feb 07
5
"Where" command in ctree (party)
Hello, I need to classify (i.e., export a vector with terminal node id's) new cases using a ctree (party package) model based on different cases (learning sample). I tried the where command with the following syntax: > where(tree, newdata=data2) expecting to get terminal nodes of data2 cases based on rules of tree model (data1 as learning sample). However it returned the following error m...
2010 Jul 09
2
Ctree Question
Hello, I've been using ctree and have developed a 55 node - 28 terminal solution. As can be imagined, the plot is difficult to travel down each of the major branches. I've read the help files for ctree I saw where terminal nodes can be color coded. plot(airct, type = "simple") > plot(airct, terminal_panel =...
2011 Jul 29
1
R, ctree and categorical variables
I am running the ctree function in R. My data has about 10 variables, many of which are categorical. 2 of the categorical variables have many levels (one has 900 levels, another has 1,000 levels). As an example, 1 of these variables is disease code and is structured as A, B, C, ...., AA, AB, AC.......
2013 Feb 13
1
[PATCH] Btrfs: fix crash in log replay with qgroups enabled
...mber of items against the maximum possible number. It calculates that number with the nodesize of fs_root. Unfortunately fs_root is not yet set at this stage. So instead use the nodesize from tree_root, which is already initialized. Signed-off-by: Arne Jansen <sensille@gmx.net> --- fs/btrfs/ctree.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index eea5da7..6eff0fa 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -1222,7 +1222,7 @@ tree_mod_log_rewind(struct btrfs_fs_info *fs_info, struct extent_buffer *eb, __tree_m...
2011 Mar 24
1
Ctree Model Variables
...he task can be more complicated since it deal with several trees. What I want is the name of all variables used in any tree. Does someone have any clue on how should I try to solve this? Many thanks! Joao Daniel Duarte UFMG - Brazil -- View this message in context: http://r.789695.n4.nabble.com/Ctree-Model-Variables-tp3402604p3402604.html Sent from the R help mailing list archive at Nabble.com.
2012 May 17
1
ctree for suvival analysis problem
...ing worked well, but when I update to party_1.0-2 (due to using 64bit R), I get an error. For simplicity I will show the error I get for the example in the party documentation: ### survival analysis if (require("ipred")) { data("GBSG2", package = "ipred") GBSG2ct <- ctree(Surv(time, cens) ~ .,data = GBSG2) plot(GBSG2ct) treeresponse(GBSG2ct, newdata = GBSG2[1:2,]) } for the plot(GBSG2ct) line I get the following error: Error in Summary.Surv(c(1814, 2018, 712, 1807, 772, 448, 2172, 2161, 471, : Invalid operation on a survival time and for treeresponse(GBSG2ct,...
2011 Feb 17
1
missing values in party::ctree
After ctree builds a tree, how would I determine the direction missing values follow by examining the BinaryTree-class object? For instance in the example below Bare.nuclei has 16 missing values and is used for the first split, but the missing values are not listed in either set of factors. (I have the same...
2011 Sep 08
1
Need formatting help - ctree - plot.party - node_hist
Hi, I am trying to get the terminal nodes of a plot of a ctree object to look nice. Using the iris data I have: library(party) mtree <- ctree(Species ~ ., data=iris) plot(mtree,terminal_panel=node_barplot(mtree)) The terminal nodes don't display the species names because the names are displayed horizontally. ?I would like to reduce the size of the la...
2006 Jul 14
1
party - ctree() - terminal nodes reference for every obs
Dear R.Users, using ctree() (from "party" library) on a data.frame, I want to append a column with the references for the groups/segments detected. While these nodes are easy readable in output, I need a vector for my obs. Hints? Cheers -- Daniele Medri