I have dataset of items and want to cluster them. However, I don't have a predefined distance function. Does it make sense to learn a classifier that can predict the similarity between any two items?
Dataset: A, B, C, ...
Unknown distance function: dfn(X, Y) => [0.0, 1.0]
Training dataset for classifier (let us say we only train for similar(1.0) or not(0.0)) A, B => 1.0 A, C => 0.0 A, D => 1.0 ...
After this, during the clustering operation, when I need a distance score for any two items x and y. Can I use classify(x, y) as the distance function?