It means that 10/10 = 1 < 3. It also means that what you're trying to do (fitting 10 cases to 12000 variables) is ridiculous (assuming I understand your message correctly).
Cheers, Bert On Tue, Nov 12, 2013 at 1:07 PM, Kripa R <kripa...@hotmail.com> wrote: > Hi I'm getting the following warning msg after ?cv.glmnet and I'm wondering > what it means... > > dim(x) 10 12000; > dim(y) 10; #two groups case=1 and control=0 > cv.glmnet(x, y) > > Warning message: > Option grouped=FALSE enforced in cv.glmnet, since < 3 observations per fold > > > Thanks, > > > > .kripa > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.