X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=test%2FREADME;h=0f9f3a4e3aab6a95a269b2c882fbf3382f06c16b;hb=afa676609daba103e43d6d4654560ca4c1c9b38b;hp=722eed7ff9445b4f6b31cde4c63586d42841106a;hpb=504afaadc783916dc126fb87ab9e067f302eb2c5;p=agghoo.git diff --git a/test/README b/test/README index 722eed7..0f9f3a4 100644 --- a/test/README +++ b/test/README @@ -5,3 +5,18 @@ source("compareToCV.R") # rseed: >= 0 for reproducibility. compareToCV(data, target_column_index, rseed = -1) + +# Average over N runs: + +> compareMulti(iris, 5, N=100) +[1] "error agghoo vs. cross-validation:" +[1] 0.04266667 0.04566667 + +> compareMulti(PimaIndiansDiabetes, 9, N=100) +[1] "error agghoo vs. cross-validation:" +[1] 0.2579221 0.2645455 + +# WARNING: slow! +> compareMulti(LetterRecognition, 1, N=100) +[1] "error agghoo vs. cross-validation:" +[1] 0.03870 0.04376