Displaying 20 results from an estimated 2000 matches similar to: "cross validation"
2005 Jan 19
1
Imputation missing observations
>From Internet I downloaded the file Hmisc.zip and used it for R package updation. and R gave the message 'Hmisc' successfull unpacked.
But when I use the functions like aregImpute the package is displaying coundn't find the function
Where as in help.search it is giving that use of the function
>
2005 May 04
3
Imputation
I have timeseries data for some factors, and some missing values are there in those factors, I want impute those missing values without disturbing the distribution of that factor, and maintaining the correlation with other factors. Pl. suggest me some imputation methods.
I tried some functions in R like aregImpute, transcan. After the imputation I am unable to retrive the data with imputed
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
2005 Jan 21
1
Cholesky Decomposition
Can we do Cholesky Decompositon in R for any matrix
---------------------------------
[[alternative HTML version deleted]]
2005 May 19
1
Calculation of Durbin-Watson p-value
Sir,
I am unable to get the source code for Durbin-Watson test, as I want to calculate the p-value for Durbin Watson statistic using interpolation method. I sent this mail to r-help, but it was rejected, please suggest me some way. I will be highly greatful to you.
Thanks in advance
Ramesh
[[alternative HTML version deleted]]
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 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
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],
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
2005 Apr 15
1
pp-test in timeseries
Test for stationarity (pp-test). In R source code all other command executions I understood, but how I am getting the ssqrtl value
ssqrtl <- .C ("R_pp_sum", as.vector(u,mode="double"), as.integer(n),
as.integer(l), trm=as.double(ssqru), PACKAGE="ts")
please explain the above command.
Thanks in advance
Ramesh
[[alternative HTML version
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
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 Jan 06
1
leave-one-out cross validation for randomForest
Dear all,
Can I get the leave-one-out cross validation error of randomForest in
R? I only found tune(), which got the 10-fold cross validation error.
Thanks for any information.
Xin LIU
This e-mail is from ArraDx Ltd
The e-mail and any files transmitted with it are confidentia...{{dropped}}
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]]
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]]
2008 Feb 27
7
Cross Validation
Hello,
How can I do a cross validation in R?
Thank You!
2009 Dec 17
1
Remove duplicates from a data frame but with some special requirements
Hi all.
So I have a data frame with multiple columns/variables. The first variable
is a major sample name for which there are some sub-samples. Currently I
have used the following command to remove the duplicates:
Samps_working<-Samps[-c(which(duplicated(Samps$ESR_Ref_edit))),]
This removes all of the duplicated sample rows.
However, I just realised that, of course, this removes the first
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]]
2009 Jun 10
1
R on EC2 and R CMD javareconf
Hello,
I am using EC2 to launch several instances. On each instance, I
perform the following commands
yum -y install R (installs R-2.6)
R CMD javareconf
sleep 10
wget rpackage.tgz
R CMD INSTALL rpackage.tgz
Now, rpackage.tgz needs to be built with jni libraries. When the
instance is fully up, i log in and check if rpackage was successfully
installed and find out it wasn't.
Running
R CMD
2008 Nov 27
8
FW: megaraid sas driver failing in Xen-3.4 unstable version
A gentle reminder on this issue
Please can any one help on this problem?
________________________________
From: Manyam, Ramesh
Sent: Wednesday, November 19, 2008 7:46 PM
To: xen-devel@lists.xensource.com
Subject: megaraid sas driver failing in Xen-3.4 unstable version
On Xen-3.4 (unstable version), I have created CentOS HVM guest & WS2K8 HVM guest and dedicated MegaRAID SAS controller but