shuffle
- sklearn.utils.shuffle(*arrays, random_state=None, n_samples=None)
Shuffle arrays or sparse matrices in a consistent way.
This is a convenience alias to
resample(*arrays, replace=False)to do random permutations of the collections.- Parameters:
- *arrays