Shuffle values and sample indices of a sparse matrix

Is it clear that sklearn.utils.shuffle is doing the same thing? The documentation seems rather vague.

Looking at the source code, it seems that it’s using a much simpler algorithm with a single shuffle! call.

3 Likes