search for: cforest

Displaying 20 results from an estimated 36 matches for "cforest".

Did you mean: forest
2012 Apr 29
1
CForest Error Logical Subscript Too Long
...ead.csv("/Users/Abigail/Documents/OldData250412.csv") OLDDATA$YD <- factor(OLDDATA$YD, label=c("Yes", "No"))? OLDDATA$ND <- factor(OLDDATA$ND, label=c("Yes", "No"))? attach(OLDDATA) defaults <- cbind(YD, ND) set.seed(47) data.controls <- cforest_unbiased(ntree=500, mtry=3) data.cforest <- cforest(defaults~LN+LV+LT+RV+MR+TL+DIA+CB, data = OLDDATA, controls=data.controls) data.cforest.varimp <- varimp(data.cforest, conditional = TRUE) barplot(sort(data.cforest.varimp)) And this is the error I get: > data.cforest <- cforest(de...
2013 Feb 14
1
party::cforest - predict?
What is the function call interface for predict in the package party for cforest? I am looking at the documentation (the vignette) and ?cforest and from the examples I see that one can call the function predict on a cforest classifier. The method predict seems to be a method of the class RandomForest objects of which are returned by cforest. --------------------------- > c...
2011 Jul 20
0
cforest - keep.forest = false option? (fwd)
> ---------- Forwarded message ---------- > Date: Mon, 18 Jul 2011 10:17:00 -0700 (PDT) > From: KHOFF <kuphoff at gmail.com> > To: r-help at r-project.org > Subject: [R] cforest - keep.forest = false option? > > Hi, > > I'm very new to R. I am most interested in the variable importance > measures > that result from randomForest, but many of my predictors are > highly > correlated. My first question is: > > 1. do highly correlated variabl...
2011 Jul 18
0
cforest - keep.forest = false option?
...I'm very new to R. I am most interested in the variable importance measures that result from randomForest, but many of my predictors are highly correlated. My first question is: 1. do highly correlated variables render variable importance measures in randomForest invalid? and 2. I know that cforest is robust to highly correlated variables, however, I do not have enough space on my machine to run cforest. I used the keep.forest = false option when using randomForest and that solved my space issue. Is there a similar option for cforest (besides savesplitstats = FALSE, which isn't helping)...
2010 Jun 10
2
Cforest and Random Forest memory use
Hi all, I'm having great trouble working with the Cforest (from the party package) and Random forest functions. Large data set seem to create very large model objects which means I cannot work with the number of observations I need to, despite running on a large 8GB 64-bit box. I would like the object to only hold the trees themselves as I intend to exp...
2010 Jul 27
1
Cforest mincriterion
Hi, Could anyone help me understand how the mincriterion threshold works in ctree and cforest of the party package? I've seen examples which state that to satisfy the p < 0.05 condition before splitting I should use mincriterion = 0.95 while the documentation suggests I should use mincriterion = qnorm(0.95) which would obviously feed the function a different value. Thanks in advanc...
2011 Feb 22
0
cforest() and missing values (party package)
Dear mailing list, I am using the cforest() method from the party package to train a randomForest with ten input parameters which sometimes contain "NA"s. The predicted variable is a binary decision. Building the tree works fine without warnings or error messages, but when using the predict() statement for validation, I run in an...
2012 Sep 13
0
cforest and cforest_unbiased for testing and training datasets
Greetings, I am using cforest to predict age of fishes using several variables; as it is rather difficult to age fishes I would like to show that a small subset of fish (training dataset) can be aged, then using RF analysis, age can accurately be predicted to the remaining individuals not in the subsample. In cforest_unbiased t...
2017 Nov 18
0
Using cforest on a hierarchically structured dataset
Hi, I am facing a hierarchically structured dataset, and I am not sure of the right way to analyses it with cforest, if their is one. - - BACKGROUND & PROBLEM We are analyzing the behavior of some social birds facing different temperature conditions. The behaviors of the birds were recorder during many sessions of 2 hours. Conditional RF (cforest) are quite useful for this analysis since, we have a l...
2012 Oct 11
0
Error with cForest
All -- I have been trying to work with the 'Party' package using R v2.15.1 and have cobbled together a (somewhat) functioning code from examples on the web. I need to run a series of unbiased, conditional, cForest tests on several subsets of data which I have made into a loop. The results ideally will be saved to an output file in matrix form. The two questions regarding the script in question (script below) include: 1). After the cForest prints the initial results the error below is displayed: "...
2011 Oct 06
0
Fwd: Re: Party extract BinaryTree from cforest?
> ---------- Forwarded message ---------- > Date: Wed, 5 Oct 2011 21:09:41 +0000 > From: Chris <christopher.a.hane at gmail.com> > To: r-help at stat.math.ethz.ch > Subject: Re: [R] Party extract BinaryTree from cforest? > > I found an internal workaround to this to support printing and plot type > simple, > > tt<-party:::prettytree(cf at ensemble[[1]], names(cf at data at > get("input"))) >> npt <- new("BinaryTree") >> npt at tree<-tt >> plot(npt)...
2010 Mar 16
0
Ensembles in cforest
Dear List, I'm trying to find a way to extract the individual conditional inference trees from cforest ( a modelling function in the party package) in a manner analogous to getTree in randomForest and I'm struggling. I can see that the information is held within the ensemble list, but haven't been able to work out how this sequence of nested lists is structured or if any of the items are na...
2007 Dec 31
0
proximity on prediction in cforest
Hello there, How to get the proximity matrix of new data in party package? Thanks. Joseph [[alternative HTML version deleted]]
2011 Jun 16
1
Fwd: varimp_in_party_package
> > Hello everyone, > > I use the following command lines to get important variable from training > dataset. > > > data.controls <- cforest_unbiased(ntree=500, mtry=3) > data.cforest <- cforest(V1~.,data=rawinput,controls=data.controls) > data.cforest.varimp <- varimp(data.cforest, conditional = TRUE) > > I got error: "Error in model.matrix.default(as.formula(f),data = blocks): > term 1 would require 4e+17 co...
2012 Dec 11
2
VarimpAUC in Party Package
Greetings! I'm trying to use function varimpAUC in the party package (party_1.0-3 released September 26th of this year). Unfortunately, I get the following error message: > data.cforest.varimp <- varimpAUC(data.cforest, conditional = TRUE) Error: could not find function "varimpAUC" Was this function NOT included in the Windows binary I downloaded and installed? Could someone please tell me how to access it? Thanks! Kim Peterson Research Scientist Bureau of Science...
2011 Oct 14
1
Party package: varimp(..., conditional=TRUE) error: term 1 would require 9e+12 columns
...s not the problem. Another suggestion was that there could be a factor with too many levels. In my case, all of the variables are continuous. Term 1 (x1 below) is the day of the year, which does happen to be integers 1 ... 366. But the variable is class numeric, not integer, so I don't believe cforest would treat it as a factor, although I do not know how to tell whether cforest is treating something as continuous or as a factor. Thank you for any help you can provide. I am running R 2.13.1 with party 0.9-99994. You can download the data from http://www.duke.edu/~jjr8/data.rdata (512 KB). Here...
2011 Oct 17
0
Party package: varimp(..., conditional=TRUE) error: term 1 would require 9e+12 columns (fwd)
...stion was that there could be a factor with too many > levels. In > my case, all of the variables are continuous. Term 1 (x1 below) is the > day > of the year, which does happen to be integers 1 ... 366. But the > variable is > class numeric, not integer, so I don't believe cforest would treat it as > a > factor, although I do not know how to tell whether cforest is treating > something as continuous or as a factor. > > Thank you for any help you can provide. I am running R 2.13.1 with party > 0.9-99994. You can download the data from > http://www.duke.e...
2013 Feb 03
3
RandomForest, Party and Memory Management
...rge size of the data set, I have often memory problems (in particular with the Party package; RandomForest seems to use less memory). I really have two questions at this point 1) Please see how I am using the Party and RandomForest packages. Any comment is welcome and useful. myparty <- cforest(SalePrice ~ ModelID+ ProductGroup+ ProductGroupDesc+MfgYear+saledate3+saleday+ salemonth, data = trainRF, control = cforest_unbiased(mtry = 3, ntree=300, trace=TRUE)) rf_model <- randomForest(SalePrice ~ ModelID+...
2008 Jun 07
0
Random Forest (fwd)
> Hello > > Is there exists a package for multivariate random forest, namely for > multivariate response data ? It seems to be impossible with the > "randomForest" function and I did not find any information about this > in the help pages ... party:::cforest can do, here is an example: y <- matrix(rnorm(100), nc = 2) x <- matrix(runif(50 * 5), nc = 5) dat <- data.frame(y = y, x = x) cf <- cforest(y.1 + y.2 ~ ., data = dat) predict(cf) gives > predict(cf) y.1 y.2 [1,] -0.300622618 0.318143745 [2,] -0.27021...
2011 Jun 13
0
Strange R/party behaviuor in CentOS
Hello, I'm facing a strange behaviour when I try to run predict function for a cforest model from party package in CentOS. It works OK on MacOSX and Ubuntu, but R process is killed when I try it on CentOS. I read a dataframe and generate a forest model using cforest from party package. To reduce computation for the tests I'm running the forest model with 2 (two) trees only. So I...