- I have a numpy matrix with shape of (4601, 58).
- I want to split the matrix randomly as per 60%, 20%, 20% split based on number of rows
- This is for Machine Learning task I need
- Is there a numpy function that randomly selects rows?
I have a numpy matrix with shape of (4601, 58). I want to split
Share
you can use numpy.random.shuffle