Data set division
Added better crossvalidation support