TF-IDF

Also known as: Term Frequency–Inverse Document Frequency

Category: NLP / Language Processing

A statistical measure that evaluates the importance of a word in a document relative to a collection, combining term frequency with inverse document frequency.

Full Explanation

TF-IDF (Term Frequency–Inverse Document Frequency) is a fundamental weighting scheme in information retrieval and text mining. The term frequency (TF) component measures how often a word appears in a document, while the inverse document frequency (IDF) component downweights words that appear in many documents. The product gives high scores to words that are frequent in a specific document but rare across the collection, effectively identifying distinguishing terms. TF-IDF has been used for decades in search engines, text classification, and document clustering. While less powerful than neural embeddings for capturing semantics, TF-IDF is computationally efficient, interpretable, and requires no training data. It remains widely used as a baseline and in combination with modern approaches.

Related Terms

More in NLP / Language Processing

Explore More