4 source("compareToCV.R")
6 # rseed: >= 0 for reproducibility.
7 compareToCV(data, target_column_index, rseed = -1)
11 > compareMulti(iris, 5, N=100)
12 [1] "error agghoo vs. cross-validation:"
13 [1] 0.04266667 0.04566667
15 > compareMulti(PimaIndiansDiabetes, 9, N=100)
16 [1] "error agghoo vs. cross-validation:"
17 [1] 0.2579221 0.2645455
20 > compareMulti(LetterRecognition, 1, N=100)
21 [1] "error agghoo vs. cross-validation:"