In this tutorial you will learn:
- What is Random Permutation?
- NumPy Permutation function
- NumPy Shuffle function
Random Permutation
Permutation is a mathematical term and permutation of a set is defined as the arrangement of its elements in an sequence or a linear order and if it is already arranged then permutation is the rearrangement of its elements in another sequence. The number of permutations for a specific data set can be calculated using a formula. NumPy provides following 2 functions for carrying out the permutation.
- Permutation() function
- Shuffle() function
NumPy
Add new comment