Displaying 8 results from an estimated 8 matches for "rf2".
Did you mean:
rc2
2005 Oct 11
1
a problem in random forest
Hi, there:
I spent some time on this but I think I really cannot figure it out, maybe I
missed something here:
my data looks like this:
> dim(trn3)
[1] 7361 209
> dim(val3)
[1] 7427 209
> mg.rf2<-randomForest(x=trn3[,1:208], y=trn3[,209], data=trn3, xtest=val3[,
1:208], ytest=val3[,209], importance=T)
my test data has 7427 observations but after prediction,
> dim(mg.rf2$votes)
[1] 7361 2
which has the same length as my training data.
but if I use
mg.rf<-randomForest(x=trn3[,1:2...
2005 Mar 23
4
sampling from a mixture distribution
Dear R users,
I would like to sample from a mixture distribution p1*f(x1)+p2*f(x2). I
usually sample variates from both distributions and weight them with their
respective probabilities, but someone told me that was wrong. What is the
correct way?
Vumani
2010 May 22
0
multiple imputation based on a condition
Any suggestions on the following would be grateful.
I'm trying to impute data, where a fictitional dataset is defined as...
set.seed(110)
n <- 500
test <- data.frame(smoke_status = rbinom(n, 2, 0.6), smoke_amount =
rbinom(n, 2, 0.5), rf1 = rnorm(n), rf2 = rnorm(n), outcome = rbinom(n,
1, 0.3))
# smoke_status (0, 1, 2) is c("non-smoker, "ex-smoker",
"current_smoker"), and
# smoke_amount (0, 1, 2) is c("light", "moderate", "heavy")
# rf1 and rf2 are two other risk factors (for illustration pu...
2012 Dec 03
1
How do I make R randomForest model size smaller?
I've been training randomForest models on 7 million rows of data (41
features). Here's an example call:
myModel <- randomForest(RESPONSE~., data=mydata, ntree=50, maxnodes=30)
I thought surely with only 50 trees and 30 terminal nodes that the memory
footprint of "myModel" would be small. But it's 65 megs in a dump file. The
object seems to be holding all sorts of
2010 Dec 11
1
randomForest: help with combine() function
I've built two RF objects (RF1 and RF2) and have tried to combine
them, but I get the following error:
Error in rf$votes + ifelse(is.na(rflist[[i]]$votes), 0, rflist[[i]]$votes) :
non-conformable arrays
In addition: Warning message:
In rf$oob.times + rflist[[i]]$oob.times :
longer object length is not a multiple of shorter object l...
2010 Nov 10
4
Custom facts in current and old environments
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
I read that there is several problems about custom facts on this list.
However, none is serving my task exactly so I start another. (Topic
»custom facts in legacy puppet 0.24.[89]« is the might be the same issue
but that gets no answer.)
My problem is that I have to serve clients with different versions of
puppet. The systems running ubuntu
2002 Mar 24
1
1024-bit RSA keys in danger of compromise
...ru1edQ1OP9Ppk0RFncCQJOYPWGv7uM3yfO+W7g8
ccRB9Dw73WueIxPCe4kARgQQEQIABgUCOY4XeAAKCRAeZBx+BnV9LUShAKCIF7On
ikLfyDGhHLu/2/kgf+gVdQCgq7Viwfsk4q31mOyOVOwOhkZpuDqJAEYEEBECAAYF
Ajih4FUACgkQ9SFBcfl3M1dpfQCfYHK+h9/YZsefF2QJGvKLNaVPOn8AnR6bxPNg
ynpRHUHigyB13mu9E3F5iQBGBBARAgAGBQI4dDh/AAoJEP4m2aXOG0HnYcUAoMmR
rF2/HItr1+Kka+6lbrNG2r5JAJ4vQsSuZE3E+xRimB1xr6qmVVcFbYkARgQQEQIA
BgUCOOFZfwAKCRCu76+X9zEu/egHAKDeavas1NMuX1APJsH7jGh17YCWggCgqgRS
ida/ktYJfxlwsl23chL7/yqJAEYEEBECAAYFAjjhjL0ACgkQWsSxj45E2cPjVgCg
yJBzCGUZrFnH1GhuCPF6RFCVOq0AoL25jkVXTyc/EdLRUG7lDeK2293qiQBGBBAR
AgAGBQI44ZwAAAoJEPSwcvgraImv7bUAoJnm0XnOOrH...
2010 Dec 11
0
is there a packge or code to generate markov chains in R
...Dennis Duro <dennis.duro at gmail.com>
To: r-help at r-project.org
Subject: [R] randomForest: help with combine() function
Message-ID:
<AANLkTind5kV=Ku5GXX=YGvk5fx5DY-cRE_gbHCGB=QYz at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
I've built two RF objects (RF1 and RF2) and have tried to combine
them, but I get the following error:
Error in rf$votes + ifelse(is.na(rflist[[i]]$votes), 0, rflist[[i]]$votes) :
non-conformable arrays
In addition: Warning message:
In rf$oob.times + rflist[[i]]$oob.times :
longer object length is not a multiple of shorter object l...