I am getting negative cosine similarity value between two documents in Latent Semantic analysis. How should it be treated?
-
1$\begingroup$ Same question on SO: Why can cosine similarity between two vectors be negative? $\endgroup$– smciMar 30, 2017 at 20:53
2 Answers
After applying LSA the cosine similarity should yield values between -1 and 1. Why exactly is this a problem for you?
See this answer for a good explanation regarding your question.
Cosine similarities could be negative for sure. If you're trying to interpret this (not that you think it's problematic to have negative values), then I think it means these two documents are talking about opposite things.
-
3$\begingroup$ what do you mean by "talking about opposite things"? $\endgroup$– sandypJul 5, 2018 at 16:45