I am trying to split my dataset into a train and a test set using scikit learn's stratified shuffle split, but it does not work because one of the classes has just one instances.
It would be okay if that one instance goes into either of train or test set. Is there any way I can achieve that?