|
|
|
|
|
by senderista
623 days ago
|
|
You can recover a distance metric from the cosine similarity of unit (i.e. normalized) vectors by taking their Euclidean distance, which can be written as basically a square root of the complement of cosine similarity. Or you can just take the complement and forget the square root, which isn't technically a distance metric but might be good enough. Or you can invert cosine similarity to get angular distance, which is a true distance metric but might be too expensive. |
|