Cosine similarity
For two vectors
This formula verifies:
A value close to 1 (resp. -1) indicate 2 vectors carrying a similar (resp. opposite) semantic meaning. A value of 0 indicates two uncorrelated words.
For two vectors
This formula verifies:
A value close to 1 (resp. -1) indicate 2 vectors carrying a similar (resp. opposite) semantic meaning. A value of 0 indicates two uncorrelated words.