The function `numpy.random.RandomState.permutation` in Python's numpy library generates a random permutation of a sequence or array. It shuffles the input sequence randomly to produce a new sequence with the same elements but in a random order. This function is useful for randomizing the order of data or for creating randomized indices for sampling or indexing operations.
Python RandomState.permutation - 47 examples found. These are the top rated real world Python examples of numpy.random.RandomState.permutation extracted from open source projects. You can rate examples to help us improve the quality of examples.