In order to split my data into train and test data separately, I'm using
sklearn.cross_validation.train_test_split
function.
When I supply my data and labels as list of lists to this function, it returns train and test data in two separate lists.
I want to get the indices of the train and test data elements from the original data list.
Can anyone help me out with this?
Thanks in advance