Term Frequency - Inverse Document Frequency [TF-IDF] is a term used in information retrieval. It's a mathematical computation that compares how many times a word appears in a document, versus how often that same word appears in the set of documents being compared. It's used in Machine Learning. It is supposed to show how important that word is in one document or in the set of documents which contains that document.