Split training and test set.