hyeokgu

Results 1 comments of hyeokgu

**Try with that code** @staticmethod def kmeans(dis_matrix, K, n_iter=100): N = dis_matrix.shape[0] centroids = DiversitySampler.k_centroid_greedy(dis_matrix, K) data_indices = np.arange(N) assign_dis_records = [] for _ in range(n_iter): centroid_dis = dis_matrix[:, centroids]...