Store the training set after resampling.