Re: [R] Cross Validation

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Sat, 08 Mar 2008 19:31:01 +0100

JStainer wrote:
> an example from my R table will calculating the average LOOCV for two
> treatments ALL and AML
>
> table
> ALL AML
> 1 1.2 .3
> 2 .87 .3
> 3 1.1 .5
> 4 1.2 .7
> 5 3.2 1.2
> 6 1.1 1.1
> 7 .90 .99
> 8 1.1 .32
> 9 2.1 1.2
>
>
>
>
>
>
> JStainer wrote:

>> Hi,
>>
>> I am trying to find out the best way to calculate the average LOOCV in R
>> for several classifier for, KNN, centroid classification, DLDA and SVM.
>>
>> I have four types of diseases and 62 samples. 
>>
>> Is there a R code available to do this?



See ?errorest in package ipred, for example.

Uwe Ligges



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sat 08 Mar 2008 - 18:37:27 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 08 Mar 2008 - 19:31:18 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive