Description Usage Arguments Details Value References See Also
run multiple runs of k-fold cross validation, see referece. "Use all data" variant is implemented here.
1 2 3 4  | 
X | 
 matrix/ dataframe of predictors, e.g. EFA
coefficients/ PC scores selected using
  | 
Y | 
 vector giving the class, e.g. value obtained from 
  | 
method | 
 method   | 
k | 
 fold number of cross-validation  | 
run | 
 number of run to be used in multiple runs of k-fold cross-validation  | 
threshold | 
 optional. A numeric value between 0-1 to
set the threshold of posterior probility. Any class
prediction with posterior probility lower than this value
will be   | 
suppress | 
 suppress the running status in R console
when   | 
mrkfcv is a wrapper for kfcv while
mrkfcv2 is a wrapper for kfcv2, both of which iterate them for 
a number of times specified by run argument. 
For mrkfcv, the ind.prediction value is the precentage calculated
from run number of results. This calculation is useful when user wish to 
find out problematic specimen(s) during building classification model.
For mrkfcv2, the calculated by-class statistics (stat.sum) are
average of all values of number of k x run of
submodels (NA values are excluded).
accuracy | 
 cross-validated accuracy for the tested
classifier, resulted from the average of   | 
accu.sd | 
 standard deviation for the accuracy,
calculated from the   | 
total | 
 mean
total successful prediction in percent, not returned if
  | 
total.sd | 
 sd of total
successful prediction in percent, not returned if
  | 
misclass | 
 [  | 
ind.prediction | 
 [  | 
stat.sum | 
 [  | 
conmat | 
 [  | 
Bouckaert, R.R., (2003). Choosing between two learning algorithms based on calibrated tests. In: Fawcett, T., Mishra, N. (Eds.), Proceedings of the Twentieth International Conference (ICML 2003) on Machine Learning. August 21-24, 2003, AAAI Press, Washington.
Beleites, C., Baumgartner, R., Bowman, C., Somorjai, R., Steiner, G., Salzer, R., & Sowa, M. G. (2005). Variance reduction in estimating classification error using sparse datasets. Chemometrics and Intelligent Laboratory Systems, 79(1), 91-100.
Which this function wraps: kfcv, kfcv2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.