## not run
library(EBEN)
data(BASISbinomial)
data(yBinomial)
#reduce sample size to speed up the running time
n = 50;
k = 100;
N = length(yBinomial);
set.seed(1)
set = sample(N,n);
BASIS = BASISbinomial[set,1:k];
y = yBinomial[set];
nFolds = 3
if (FALSE) {
CV = EBelasticNet.BinomialCV(BASIS, y, nFolds = 3,Epis = FALSE)
}
Run the code above in your browser using DataLab