I need to split my data into a training set (80%) and test set (20%). I currently do that with the code below:
StratifiedShuffleSplit(n_splits=10,test_size=.2, train_size=.8, random_state=0)
How ever i need to specify a particular attribute for spliting. I am not able to do it