Hey Ulf,
thanks for the awesome code. This part runs a bit slowly and it should be possible to make it faster.
# Label all the input points and return that label vector
coord_labels = np.ones(shape=coords.shape[0], dtype=int) * (-1)
for gid, lab in enumerate((labels)):
coord_labels[medoid_map == gid] = lab
Hey Ulf, thanks for the awesome code. This part runs a bit slowly and it should be possible to make it faster.