Message-ID: <CACk-te3TOOBwDK49ONdNfW86aMk=3TixoYyinPBvc+Ce3Yyv_A@mail.gmail.com>
Date: 2013-11-12T22:29:54Z
From: Bert Gunter
Subject: GLMNET warning msg
In-Reply-To: <BAY179-W31C1BD2C3A5678E6C91D5B99FE0@phx.gbl>
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 <kripa777 at 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 at 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