Hi Everyone, I am new in using R and I was wondering if anybody knows how to do a leave-one-out cross-validation in R. Thanks Charles Découvrez les photos les plus intéressantes du jour. [[alternative HTML version deleted]]
See ?errorest in package ipred, for example. Uwe Ligges Charles Serele wrote:> Hi Everyone, > > I am new in using R and I was wondering if anybody knows how to do a leave-one-out cross-validation in R. > > Thanks > > Charles > > > D?couvrez les photos les plus int?ressantes du jour. > > [[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.
You can use the caret or ipred packages. caret has it setup for specific models and can be used with parallel processing. ipred can do loo for any model since you manually code the model. Max On Apr 11, 2009, at 3:03 AM, Charles Serele <chserele at yahoo.ca> wrote:> Hi Everyone, > > I am new in using R and I was wondering if anybody knows how to do a > leave-one-out cross-validation in R. > > Thanks > > Charles > > > D?couvrez les photos les plus int?ressantes du jour. > > [[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.