cv10log {dprep} | R Documentation |
10-fold cross validation estimation of the misclassification error for the classifier based on logistic regression
cv10log(data, repet,maxwts=2500)
data |
The name of the dataset |
repet |
The number of repetitions |
maxwts |
The maximum number of weights to be estimated. It must be an integer greater than the number of predictors of the dataset. |
The mean cross validation error for the classifier based on logistic regression using the number of repetitions
Edgar Acuna
Ripley, B.D. (1996). Pattern recognition and Neural networks. Cambridge University Press
Venables,W.N., and Ripley, B.D. (2002). Modern Applied Statistics with S. Fourth edition, Springer
#-----cross validation error for the logistic classifier------- data(bupa) cv10log(bupa,5)