I want to generate an array called T with K points on this plot (in this case, K is 3). What I have so far is an array that has both x and y coordinates randomly generated in a certain range.
T = np.random.uniform(low=0.5, high=13.3, size=(K,N))
What I want, however, is to have the x coordinates be generated in a different range from the y coordinates such that the region populated by T is defined by (-15 < x < 0) and (-6 < y < 12). The context here is that T (shown in blue) is the initial centroids in K-means clustering and I want my initial centroids to start off close to my data which happens to lie in the (-15 < x < 0) and (-6 < y < 12) region.
