Skip to content

Cross Validation

5 messages · JStainer, Uwe Ligges

#
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?
#
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:

  
    
#
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:

  
    
#
JStainer wrote:

  
    
#
JStainer wrote:
See ?errorest in package ipred, for example.

Uwe Ligges