I want to make cosine similarity a distance measure for undersampling of fraud data , but the problem is if I get the zero values it will give 0/0, what can I do for this what can be the alternative similarity measures that are also distance measures.
Asked
Active
Viewed 210 times
0
1 Answers
0
What about the following?
$dist = 1 - sim$ where $sim$ denotes the cosine similarity.
NeuroMorphing
- 545
- 2
- 12
2(1-s)wheresis cosine similarity. – ttnphns Aug 05 '15 at 10:21