Part 2 (5 points, coding task)
This dataset is too big. In our contest, we only use a small portion with 1000 samples.
To avoid introducing any bias, we will randomly select 1000 distinct samples.
Use NumPy to randomly select 1000 sample indices.
-
Use the random seed number 2025 to generated randomized indices. After the generation is completed, reset the seed number back to
None
. -
The name of the output is called
indices
. It must be a list that contains 1000 integer type (not numpy array integers) objects.