Glossary · Phase 3 · Machine learning
TF-IDF
Term frequency times inverse document frequency: a word's weight in a document, high when it's frequent there but rare elsewhere.
Try it now
Think about volume, cost per document, and whether the job needs understanding or just keywords.
Learn it properly
Text mining: TF-IDF, search and labels · Bag of words and TF-IDF, similarity search and its blind spots, text classifiers and topics, and when LLM labels are worth it. About 35 minutes.
Other terms from the same lesson
- bag of words: Representing a document by how often it uses each vocabulary word, ignoring word order.
Never trained an AI?
Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.