Skip to content
Prev 266369 / 398502 Next

glmnet with binary logistic regression

On 07/23/2011 11:43 AM, fongchun wrote:
A simpler approach is to increase the number of folds.  If you set the 
number of folds equal to n ("leave-one-out" cross validation), the 
outcome will no longer be random, as there is only one way of choosing 
the fold partitions.  The main reason people settle for 10-fold CV is 
computational convenience when n is large, which is not a large problem 
in your case.