Question: what is the difference between term frequency and tf-idf?
Answer: TF: Term Frequency, which measures how frequently a term occurs in a document. ... TF(t) = (Number of times term t appears in a document) / (Total number of terms in the document). IDF: Inverse Document Frequency, which measures how important a term is. While computing TF, all terms are considered equally important.