Term Frequency – Inverse Document Frequency

Archiving and Retrieval is such an important area in this age of industry. Being introduced to RDF, Semantic Web and distance-metrics, I’m just beginning to scratch the surface.

PyImageSearch mentioned tf–idf, short for term frequency–inverse document frequency, is a numerical statistic that is intended to reflect how important a word is to a document in a collection or corpus.[1]:8 It is often used as a weighting factor in information retrieval and text mining. The tf-idf value increases proportionally to the number of times a word appears in the document, but is offset by the frequency of the word in the corpus, which helps to adjust for the fact that some words appear more frequently in general.