Cosine similarity and tf-idf

前端 未结 6 1038
梦毁少年i
梦毁少年i 2020-12-07 17:14

I am confused by the following comment about TF-IDF and Cosine Similarity.

I was reading up on both and then on wiki under Cosine

6条回答
  •  执笔经年
    2020-12-07 18:02

    tf/idf weighting has some cases where they fail and generate NaN error in code while computing. It's very important to read this: http://www.p-value.info/2013/02/when-tfidf-and-cosine-similarity-fail.html

提交回复
热议问题