search for: rfnews

Displaying 14 results from an estimated 14 matches for "rfnews".

Did you mean: renews
2007 Jan 28
2
help with RandomForest classwt option
Hello there, I am working on an extremely unbalanced two class classification problems. I wanna use "classwt" with "down sampling" together. By checking the rfNews() in R, it looks that classwt is not working yet. Then I looked at the software from Salford. I did not find the down sampling option. I am wondering if you have any experience to deal with this problem. Do you know any method or softwares can handle this problem? Thank you very much!! Betty [...
2012 Feb 29
1
How can I avoid the warning messages when calling DAAG package?
...DAAG? 3) Why are so many objects masked even after I open up the fresh R and type library (DAAG) first time? Any help would be appreciated, Jason > library(DAAG) Loading required package: MASS Loading required package: rpart Loading required package: randomForest randomForest 4.6-6 Type rfNews() to see new features/changes/bug fixes. Loading required package: boot Loading required package: survival Loading required package: splines Attaching package: ‘survival’ The following object(s) are masked from ‘package:boot’: aml Attaching package: ‘DAAG’ The following object(s) are mask...
2010 May 18
1
Regarding the 'R' Load Command
...ing input. Here is the sequence of commands I tried running, and the error received. There is no clue on this error, especially when trying to use the eval function in randomForest package, even on the internet. Can anyone help please! > library(randomForest) randomForest 4.5-34 Type rfNews() to see new features/changes/bug fixes. > load("C://Program Files//R//R-2.10.1//bin//rfoutput") > zz <- file("ex.data", "w") > cat("\"imurder\" \"itheft\" \"irobbery\" \"iassault\" \"idrug\&quot...
2005 Jul 21
4
RandomForest question
Hello, I'm trying to find out the optimal number of splits (mtry parameter) for a randomForest classification. The classification is binary and there are 32 explanatory variables (mostly factors with each up to 4 levels but also some numeric variables) and 575 cases. I've seen that although there are only 32 explanatory variables the best classification performance is reached when
2005 Jan 27
7
getting package version inside .First.lib
Greetings - Is it possible, inside .First.lib, to find out the version number of the package that is being loaded? If only one version of the package has been installed, we could scan the DESCRIPTION file, something like .First.lib <- function(lib, pkg) { library.dynam("spatstat", pkg, lib) dfile <- system.file("DESCRIPTION", package="spatstat")
2007 Apr 24
1
NA and NaN randomForest
Dear R-help, This is about randomForest's handling of NA and NaNs in test set data. Currently, if the test set data contains an NA or NaN then predict.randomForest will skip that row in the output. I would like to change that behavior to outputting an NA. Can this be done with flags to randomForest? If not can some sort of wrapper be built to put the NAs back in? thanks, Clayton
2010 Jan 15
1
randomForest maxnodes
Has anyone sucessfully used the maxnodes feature in randomForest? I tried setting it, but when it is non-NULL I always get back a forest in which all trees have size 1. I am using a continuous response (regression). Any help would be appreciated. Thanks. [[alternative HTML version deleted]]
2008 Jul 28
0
Help with yaImpute
...********************************************************************************************* And here is the error I receive ################################################################ > source("K-NN-Basal-Area.R") Loading required package: randomForest randomForest 4.5-25 Type rfNews() to see new features/changes/bug fixes. Rows per dot: 10 Rows to do: 1062 ToDo: .......................................................................................................... Done: First six lines of predicted data for map row: 1 object.yRefs...toKeep. 1x0001...
2010 Oct 04
1
Force evaluation of variable when calling partialPlot
Dear R Users, I'm using the randomForest package and would like to generate partial dependence plots, one after another, for a variety of variables: m <- randomForest( s, ... ) varnames <- c( "var1", "var2", "var3", "var4" ) # var1..4 are all in data frame s for( v in varnames ) { partialPlot( x=m, pred.data=s, x.var=v ) } ...but this
2008 Mar 09
1
sampsize in Random Forests
Hi all, I have a dataset where each point is assigned to a class A, B, C, or D. Each point is also assigned to a study site. Each study site is coded with a number ranging between 1-100. This information is stored in the vector studySites. I want to run randomForests using stratified sampling, so I chose the option strata = factor(studySites) But I am not sure how to control the number of
2008 Apr 29
1
randomForest and ordered factors
Hello R-user! I am running R 2.7.0 on a Power Book (Tiger). (I am still R and statistics beginner) I try to find the most important variables to divide my dataset as given in a categorical variable. code: Test.rf4<-randomForest(Sex~.,na.action=na.roughfix, data=Subset4, importance=TRUE, proximity=TRUE, ntree=10000, do.trace=1000, keep.forest=FALSE) My dataset contains also ordered
2005 Mar 23
0
Question on class 1, 2 output for RandomForest
...;. (I would have thought that that should be fairly obvious, but I guess not. It mimics what Breiman and Cutler's Fortran code does.) I suspect you showed us the output from two different runs, so they don't match. It does for me: > library(randomForest) randomForest 4.5-4 Type rfNews() to see new features/changes/bug fixes. > credit <- read.csv(url("ftp://ftp.ics. > credit <- read.csv(url("ftp://ftp.ics.uci.edu/pub/machine-learning-databases/credit-sc reening/crx.data"), header=FALSE, na.string="?") > credit.rf <- randomForest(V16~., c...
2006 Jan 25
1
imbalanced classes
Hi Andy, I know this topic has been discussed before on the R-help, but I was wondering if you could offer some advice specific to my application. I'm using the R random forest package to compare two classes of data, the number of cases in each class relatively low, 28 in class 1 and 9 in class 2. I'd really like to use R environment to analyze this data, however I'm finding it
2012 Feb 06
0
How do I get the CEM (coarsened exact matching) package to run?
...d base packages: [1] stats graphics grDevices utils datasets methods base #Loading CEM and trying to execute a function library(cem) #Version 1.0.218 Loading required package: nlme Loading required package: lattice Loading required package: randomForest randomForest 4.6-6 Type rfNews() to see new features/changes/bug fixes. Loading required package: tcltk Loading Tcl/Tk interface ... #If I try to execute any function a crash occurs #Error code that I Resulting error message: *** caught segfault *** address 0x11000080, cause 'memory not mapped' Traceback: 1...