Session Ready
Exercise

Impact of seeds on distinct clusters

You noticed the impact of seeds on a dataset that did not have well-defined groups of clusters. In this exercise, you will explore whether seeds impact the clusters in the Comic Con data, where the clusters are well-defined.

The data is stored in a Pandas data frame, comic_con. x_scaled and y_scaled are the column names of the standardized X and Y coordinates of people at a given point in time.

Instructions 1/2
undefined XP
  • 1

    Import the random class from numpy and initialize the seed with the integer 0.

    • 2

      Change your code from the earlier step so that the seed is initialized with a list [1, 2, 1000].