split hash and dt sets in same way for training and testing