Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
In this step we will shuffle the training data.
We define the random seed:
np.random.seed(42)
Now we shuffle the training data:
shuffle_index = np.random.permutation(60000)
X_train, y_train = X_train[shuffle_index], << your code goes here >>[shuffle_index]
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
No hints are availble for this assesment
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...