I have data of the format [dataset_N, dataset_N+1, similarity]
where two different datasets have been compared, resulting in a similarity score. A score is generated for each possible (unique) pair of datasets (~7e6 pairs).
I am trying to determine how to cluster these datasets using just the similarity scores.
Something like K-means can't be used directly because the available information (similarity scores and which pair was compared) doesn't match its inputs.
Is there an existing method that can be used for this?
Edit: reworded for clarity
Edit 2: removed references to labels, since that was causing confusion