Displaying 20 results from an estimated 5000 matches similar to: "leave-one-out cross validation for randomForest"
2005 Jan 06
1
different result from the same errorest() in library( ipred)
Dear all,
Does anybody can explain this: different results got when all the same parameters are used in the errorest() in library ipred, as the following?
errorest(Species ~ ., data=iris, model=randomForest, estimator = "cv", est.para=control.errorest(k=3), mtry=2)$err
[1] 0.03333333
> errorest(Species ~ ., data=iris, model=randomForest, estimator = "cv",
2009 Nov 02
1
modifying predict.nnet() to function with errorest()
Greetings,
I am having trouble calculating artificial neural network
misclassification errors using errorest() from the ipred package.
I have had no problems estimating the values with randomForest()
or svm(), but can't seem to get it to work with nnet(). I believe
this is due to the output of the predict.nnet() function within
cv.factor(). Below is a quick example of the problem I'm
2004 Jan 22
4
customising installed libraries
hello
I am returning to some libraries that I had previously customised by amongst
other things adding additional functions. I had simply typed these new
functions into the file in library/R/thelibrary. These however do not seem
to be loaded now as they previously were under older versions of R.
What's changed and what do i need to do?
Thanks
Stephen
2009 Apr 25
1
Overlapping parameters "k" in different functions in "ipred"
Dear List,
I have a question regarding "ipred" package. Under 10-fold cv, for different knn ( = 1,3,...25), I am getting same misclassification errors:
#############################################
library(ipred)
data(iris)
cv.k = 10 ## 10-fold cross-validation
bwpredict.knn <- function(object, newdata) predict.ipredknn(object, newdata, type="class")
for (i in
2009 Apr 11
2
leave-one-out in R
Hi Everyone,
I am new in using R and I was wondering if anybody knows how to do a leave-one-out cross-validation in R.
Thanks
Charles
Découvrez les photos les plus intéressantes du jour.
[[alternative HTML version deleted]]
2004 Jan 09
3
ipred and lda
Dear all,
can anybody help me with the program below? The function predict.lda
seems to be defined but cannot be used by errortest.
The R version is 1.7.1
Thanks in advance,
Stefan
----------------
library("MASS");
library("ipred");
data(iris3);
tr <- sample(1:50, 25);
train <- rbind(iris3[tr,,1], iris3[tr,,2], iris3[tr,,3]);
test <- rbind(iris3[-tr,,1],
2004 Sep 20
1
adding function to a Package
As a shortcut I have previously added my own functions to a Package (ipred)
under R-1.8.1, changing the NAMESPACE file to accomodate this then
reinstalling. This doesn't now seem possible in R-1.9.0 is this correct?-- I
am getting an error saying:
"files NAMESPACE, R/ipred have the wrong MD5 checksums"
after I try to reinstall (which I can understand). Is there a quick way
round
2003 Apr 16
2
Jackknife and rpart
Hi,
First, thanks to those who helped me see my gross misunderstanding of
randomForest. I worked through a baging tutorial and now understand the
"many tree" approach. However, it is not what I want to do! My bagged
errors are accpetable but I need to use the actual tree and need a single
tree application.
I am using rpart for a classification tree but am interested in a more
unbaised
2005 Jun 23
1
errorest
Hi,
I am using errorest function from ipred package.
I am hoping to perform "bootstrap 0.632+" and "bootstrap leave one out".
According to the manual page for errorest, i use the following command:
ce632[i]<-errorest(ytrain ~., data=mydata, model=lda,
estimator=c("boot","632plus"), predict=mypredict.lda)$error
It didn't work. I then tried the
2006 Oct 08
0
Problem in getting 632plus error using randomForest by ipred!
Hello!
I'm Taeho, a graduate student in South Korea.
In order to get .632+ bootstrap error using random forest, I have tried to use 'ipred' package; more specifically the function 'errorest' has been used.
Following the guidelines, I made a simple command line like below:
error<-errorest(class ~ ., data=data, model=randomForest, estimator = "632plus")$err
2003 Feb 27
2
PRESS again
Sorry for the repeat.
The PRESS statistic is defined as
sum(y-yhat(i))^2, where yhat(i) denotes the ith predicted value using
all the data except the ith case (as used typically in linear models).
Thanks again
Jacob
Jacob L van Wyk
Department of Mathematics and Statistics
Rand Afrikaans University
P O Box 524
Auckland Park 2006
South Africa
Tel: +27-11-489-3080
Fax: +27-11-489-2832
2005 Jun 29
1
sbrier (Brier score) and coxph
Hello
I've decided to try and distill an earlier rather ill focused question to
try and elicit a response. Any help is greatly appreciated. Why does mod.cox
not work with sbrier whilst mod.km does? Can I make it work?
> data(DLBCL)
> DLBCL.surv<-Surv(DLBCL$time,DLBCL$cens)
>
> mod.km<-survfit(DLBCL.surv)
> mod.cox<-survfit(coxph(DLBCL.surv~IPI, data=DLBCL))
>
2005 Jan 21
2
cross validation
How to select training data set and test data set from the original data for performing cross-validation
---------------------------------
[[alternative HTML version deleted]]
2009 Dec 31
1
cross validation for species distribution
Dear,
I wanna make cross-validation for the species data of species distribution
models.
Please kindly suggest any package containing cross validation suiting the
purpose.
Thank you.
Elaine
[[alternative HTML version deleted]]
2008 Feb 27
7
Cross Validation
Hello,
How can I do a cross validation in R?
Thank You!
2004 Feb 25
2
LOOCV using R
Can someone help me with performing leave-out-one cross validation using
R (model built is a Cox model)? Thanks.
---------------------------------------------
David Verbel, MPH
Senior Biostatistician
Aureon Biosciences
28 Wells Avenue
Yonkers, NY 10701
Phone: (914) 377-4021
Fax: (914) 377-4001
---------------------------------------------
[[alternative HTML version deleted]]
2005 Jan 06
1
multiple trees
Hi, there:
I made a function to do k-fold cross-validation as
below. Basically whenever I call cv(test) for example,
an error message like:
20Fold 1
Error in model.frame(formula, rownames, variables,
varnames, extras, extranames, :
variable lengths differ
please help.
My test dataset has 142 variables, the last one is a
categorical response variable.
also, i am not sure how to save
2008 Jul 22
2
randomForest Tutorial
I am new to R and I'd like to use the randomForest package for my thesis
(identifying important variables for more detailed analysis with other
software). I have found extremely well written and helpful information on
the usage of R.
Unfortunately it seems to be very difficult to find similarly detailed
tutorials for randomForest, and I just can't get it work with the
information on
2023 Mar 19
1
ver el código de randomForest
Hola:
No se muy bien si es esto lo que preguntas, pero el código de todos los scripts está en el fichero:
https://cran.r-project.org/src/contrib/randomForest_4.7-1.1.tar.gz
Saludos.
On Sun, 19 Mar 2023 04:35:44 +0100
Manuel Mendoza <mmendoza en fulbrightmail.org> wrote:
> Buenos días, ¿cómo podría ver el código con el que el paquete randomForest
> hace el random forest?
>
2006 Apr 18
2
installation of package "randomForest" failed
Hello
I'd like to try out some functions in the package randomForest. Therefore,
I did install this package. However, it is not possible to load the
library, although I have R-Version 2.1.1 (i.e. later than 2.0.0). The
commands I used and the Answers/Error from R is as follows:
>
install.packages("C://Programme//R//rw2011//library//randomForest_4.5-16.zip",