Add sampling to vary size of training and testing set.