Skip to content

Instantly share code, notes, and snippets.

View derderi's full-sized avatar
🏠
Working from home

derderi

🏠
Working from home
View GitHub Profile
# original example from Digg Data website (Takashi J. OZAKI, Ph. D.)
# http://diggdata.in/post/58333540883/k-fold-cross-validation-in-r
library(plyr)
library(randomForest)
data <- iris
# in this cross validation example, we use the iris data set to