The website is in Maintenance mode. We are in the process of adding more features.
Any new bookmarks, comments, or user profiles made during this time will not be saved.

AIML.com

Machine Learning Resources

What is IDF? What do we need IDF?

Bookmark this question

Inverse Document Frequency builds upon Term Frequency by inversely weighting words that appear frequently across all of the documents. Thus, it diminishes the importance given to words that are common in general rather than to one specific document. The product of Term Frequency and Inverse Document Frequency results in a TF-IDF score, which is usually the preprocessing done before performing text classification. If a word has a high Term Frequency in a given document, it just means that it appears frequently in that document, but if it has a high TF-IDF score, it is a better measure that it is important to that document relative to the entire corpus. 

Leave your Comments and Suggestions below:

Please Login or Sign Up to leave a comment

Partner Ad  

Find out all the ways
that you can

Explore Questions by Topics

Partner Ad

Learn Data Science with Travis - your AI-powered tutor | LearnEngine.com