The data set was partitioned into 10 subsets, one subsets was used as the testing set and the rest were used for training set. This process was repeated 10 times, with each of the subsets was used exactly once as the testing data. Then, to find the performace of the models, the average performance across all 10 trials was calculated.