similar to: Package party Error in model.matrix.default(as.formula(f), data = blocks) :allocMatrix: too many elements specified

Displaying 20 results from an estimated 900 matches similar to: "Package party Error in model.matrix.default(as.formula(f), data = blocks) :allocMatrix: too many elements specified"

2012 Apr 29
1
CForest Error Logical Subscript Too Long
Hi, This is my code (my data is attached): library(languageR) library(rms) library(party) OLDDATA <- read.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
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
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
2011 Oct 17
0
Party package: varimp(..., conditional=TRUE) error: term 1 would require 9e+12 columns (fwd)
> > I would like to build a forest of regression trees to see how well some > covariates predict a response variable and to examine the importance of > the > covariates. I have a small number of covariates (8) and large number of > records (27368). The response and all of the covariates are continuous > variables. > > A cursory examination of the covariates does not
2011 Oct 14
1
Party package: varimp(..., conditional=TRUE) error: term 1 would require 9e+12 columns
I would like to build a forest of regression trees to see how well some covariates predict a response variable and to examine the importance of the covariates. I have a small number of covariates (8) and large number of records (27368). The response and all of the covariates are continuous variables. A cursory examination of the covariates does not suggest they are correlated in a simple fashion
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 the samples are drawn without replacement and so it creates a default
2009 Feb 06
0
party package conditional variable importance
Hello, I'm trying to use the party package function varimp() to get conditional variable importance measures, as I'm aware that some of my variables are correlated. However I keep getting error messages (such as the example below). I get similar errors with three separate datasets that I'm using. At a guess it might be something to do with the very large number of variables (e.g.
2013 Jan 11
0
Error with looping through a list of strings as variables
Dear R users: I have been trying to figure out how to include string variables in a for loop to run multiple random forests with little success. The current code returns the following error: Error in trafo(data = data, numeric_trafo = numeric_trafo, factor_trafo = factor_trafo, : data class character is not supported In addition: Warning message: In storage.mode(RET@predict_trafo) <-
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
2011 Jul 18
0
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 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
2013 Feb 03
3
RandomForest, Party and Memory Management
Dear All, For a data mining project, I am relying heavily on the RandomForest and Party packages. Due to the large 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.
2008 Sep 25
0
varimp in party (or randomForest)
Hi, There is an excellent article at http://www.biomedcentral.com/1471-2105/9/307 by Stroble, et al. describing variable importance in random forests. Does anyone have any suggestions (besides imputation or removal of cases) for how to deal with data that *have* missing data for predictor variables? Below is an excerpt of some code referenced in the article. I have commented out one line and
2010 Apr 30
0
ROC curve in randomForest
require(randomForest) rf.pred<-predict(fit, valid, type="prob") > rf.pred[1:20, ] 0 1 16 0.0000 1.0000 23 0.3158 0.6842 43 0.3030 0.6970 52 0.0886 0.9114 55 0.1216 0.8784 75 0.0920 0.9080 82 0.4332 0.5668 120 0.2302 0.7698 128 0.1336 0.8664 147 0.4272 0.5728 148 0.0490 0.9510 153 0.0556 0.9444 161 0.0760 0.9240 162 0.4564 0.5436 172 0.5148 0.4852 176 0.1730
2012 Jun 15
0
argument "x" is missing, with no default - Please help find argument x
R programming question, not machine learning, although that's the content. Apologies to all for whom the following code is eye-burning. I am using foreach() to run a simulation on a randomForest model (actually conditional randomForest ... "party" package). The simulation is in two dimensions. examining how "mtry" and "ntrees" are related in terms of predictive
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. --------------------------- > cf.model =
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
2010 Mar 23
1
caret package, how can I deal with RFE+SVM wrong message?
Hello, I am learning caret package, and I want to use the RFE to reduce the feature. I want to use RFE coupled Random Forest (RFE+FR) to complete this task. As we know, there are a number of pre-defined sets of functions, like random Forest(rfFuncs), however,I want to tune the parameters (mtr) when RFE, and then I write code below, but there is something wrong message, How can I deal with it?
2012 Dec 07
0
Conditional inference forest error: levels in factors do not match
#Conditional inference forest ("Party" package) error message states that levels in factors of new data do not match original data, but they do... #create conditional inference forest oc_listed.fit1 <- cforest(Listed~ HabMode,controls=cforest_unbiased(ntree=500), data=oc.complete) #use predict function for subset of data #this works correctly
2011 Nov 16
0
problem to tunning RandomForest, an unexpected result
Dear Researches, I am using RF (in regression way) for analize several metrics extract from image. I am tuning RF setting a loop using different range of mtry, tree and nodesize using the lower value of MSE-OOB mtry from 1 to 5 nodesize from1 to 10 tree from 1 to 500 using this paper as refery Palmer, D. S., O'Boyle, N. M., Glen, R. C., & Mitchell, J. B. O. (2007). Random Forest Models
2009 Aug 13
2
randomForest question--problem with ntree
Hi, I would like to use a random Forest model to get an idea about which variables from a dataset may have some prognostic significance in a smallish study. The default for the number of trees seems to be 500. I tried changing the default to ntree=2000 or ntree=200 and the results appear identical. Have changed mtry from mtry=5 to mtry=6 successfully. Have seen same problem on both a Windows