Leave-one-out Cross-validation

I wrote an R script to illustrate the leave-one-out cross-validation – LOOCV, and other prediction error estimation methods for bivariate data classifications for an inclass presentation during my masters program. I have also organized the demonstration into repeatable functions, which are available on my Github page. Below is an animated demonstration of the LOOCV method for LDA and KNN models for a simulated data set using the functions.

Continue reading “Leave-one-out Cross-validation”