3.7.1 10-fold cross validation
For training and testing the data sets, 10-fold cross validation was used. 10-fold
cross validation divides the data set into 10 parts. Nine parts are then chosen och
used for training and the 10th part is used for testing. This is then repeated, using
another part as the testing piece. Each data part is used once for testing and nine
times for training. This is then repeated ten times, with a new part being the testing
piece. An average result is generated from the ten runs.