The user was first asked to input the desired level of cross-validation, CV.
Using this information, the data was partitioned into CV equal groups. CV-1 of these groups were training sets, and the last group was the test set.
The program was run and result obtained.
Then, the test and training datasets were switched. This occured CV times such that each group was the test group exactly once.
The success rates were averaged over all CV trials to arrive at the final success rate.
|