I am trying to use train_test_split from package scikit Learn, but I am having trouble with parameter stratify. Hereafter is the code:
train_test_split
stratify
In this context, stratification means that the train_test_split method returns training and test subsets that have the same proportions of class labels as the input dataset.