Skip to main content

Inverse Document Frequency

  • Reference work entry
Encyclopedia of Database Systems

Synonyms

IDF

Definition

The inverse document frequency (IDF) is a statistical weight used for measuring the importance of a term in a text document collection. The document frequency DF of a term is defined by the number of documents in which a term appears.

Key Points

Karen Sparck-Jones first proposed that terms with low document frequency are more valuable than terms with high document frequency during retrieval [2]. In other words, the underlying idea of IDF is that the more frequently the term appears in the collection, the less informative the term is.

In its simplest form, the IDF weight of a term is assigned as follows [3]:

$$IDF = \log_2 {N \over DF}$$
((1))

where N is the number of documents in the collection, and DF is the document frequency of the term, i.e., the number of documents in which the term appears.

There have been different variations of the IDF weight in the literature. For example, Robertson and Walker proposed the following formula [1]:

$$IDF = \log {N - DF +...

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 2,500.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Recommended Reading

  1. Robertson S.E. and Walker S. On relevance weights with little relevance information. In Proc. 20th Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pp 16–24, 1997.

    Google Scholar 

  2. Sparck-Jones K. A statistical interpretation of term specificity and its application in retrieval. J. Doc., 28(1):11–20, 1972.

    Article  Google Scholar 

  3. Sparck-Jones K.Index term weighting. Inform. Storage Retr., 9(11):619–633, 1973.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2009 Springer Science+Business Media, LLC

About this entry

Cite this entry

Ounis, I. (2009). Inverse Document Frequency. In: LIU, L., ÖZSU, M.T. (eds) Encyclopedia of Database Systems. Springer, Boston, MA. https://doi.org/10.1007/978-0-387-39940-9_933

Download citation

Publish with us

Policies and ethics