Posted 2023-05-10Updated 2025-01-15a few seconds read (About 37 words)sklearnSome basic operationShuffle the training set for hold out validation12from sklearn.utils import shuffletraining_set,dev_set = np.split(shuffle(data_sample_35),[25]) Also capable of spliting training set, validation(development) set, test set