To investigate this, we measure pairwise distances between instances in the learned feature space after training.
for each test instance we calculate its cosine similarity to all other test instances, inducing a ranking.