A number of you have emailed asking for clarifications regarding what "raw term frequency" means in the context of Homework 1, Question 2.
As mentioned in the question, by "raw term frequency", it means that you must not normalize the TF. So, the term frequency of d1 for the term t3 is 9, and not 9/|d1|.
When computing the tf/idf, you must multiply this raw term frequency by the idf. If you do so, you will get the answers as mentioned in the slides.
No comments:
Post a Comment