search for: rforests

Displaying 7 results from an estimated 7 matches for "rforests".

Did you mean: forests
2012 Nov 22
1
Partial dependence plot in randomForest package (all flat responses)
Hi, I'm trying to make a partial plot with package randomForest in R. After I perform my random forest object I type partialPlot(data.rforest, pred.data=act2, x.var=centroid, "C") where data.rforest is my randomforest object, act2 is the original dataset, centroid is one of the predictor and C is one of the classes in my response variable. Whatever predictor or response class I
2010 May 05
2
readLines with space-delimiter?
Hi, I am reading a large space-delimited text file into R (41 columns and many rows) and need to do run each row's values through another R object and then write to another text file. So, far using readLines and writeLines seems to be the best bet. I've gotten the data exchange working except each row is read in as one 'chunk', meaning the row has all values between two quotes
2010 Jul 20
1
Random Forest - Strata
Hi all, Had struggled in getting "Strata" in randomForest to work on this. Can I get randomForest for each of its TREE, to get ALL sample from some strata to build tree, while leaving some strata TOTALLY untouched as oob? e.g. in below, how I can tell RF to, - for tree 1 in the forest, to use only Site A and B to build the tree, while using the WHOLE Site C data for the oob error
2010 Jan 14
0
doMPI 0.1-4
I'd like to announce the availability of version 0.1-4 of the "doMPI" package, a parallel backend for the "foreach" package, which acts as an adaptor to the "Rmpi" package. The package has been uploaded to CRAN and is now available under the GPL-2 license. In addition to fixing a few problems in version 0.1-3, the main new feature of this release is the
2008 Feb 04
0
SOLVED: use classificators learned in R in "real-life", e.g. C
.... > thanks for your answer. actually, taking a closer look at the representations of rpart or randomForest, I came to a much simpler and straight-forward solution: with only a couple of lines, the corresponding c-code for a tree can be emitted. e.g. for randomForest: ## generate C code from rforests. generate code for tree k gen_code=function(rfobj,k) { tree=getTree(rfobj,k,labelVar=TRUE); count=0; loc.env=environment(); visit=function(idx) { assign('count',count+1,env=loc.env); if (tree[idx,'status']==-1) cat(sprintf("RETURN(%s)\n",tree...
2010 Jan 14
0
doMPI 0.1-4
I'd like to announce the availability of version 0.1-4 of the "doMPI" package, a parallel backend for the "foreach" package, which acts as an adaptor to the "Rmpi" package. The package has been uploaded to CRAN and is now available under the GPL-2 license. In addition to fixing a few problems in version 0.1-3, the main new feature of this release is the
2010 May 05
0
R-help Digest, Vol 87, Issue 5
Unsubscribe -----Original Message----- From: r-help-request at r-project.org Date: Wed, 05 May 2010 12:00:09 To: <r-help at r-project.org> Subject: R-help Digest, Vol 87, Issue 5 Send R-help mailing list submissions to r-help at r-project.org To subscribe or unsubscribe via the World Wide Web, visit https://stat.ethz.ch/mailman/listinfo/r-help or, via email, send a message with subject