Q10Big Data Analytics
Question
2 marks
Define TF-IDF.
Answer
TF-IDF (Term Frequency-Inverse Document Frequency) is a numerical statistic used to reflect the importance of a word in a document relative to a corpus.
Term Frequency measures how often a word occurs in a document, while Inverse Document Frequency penalizes common words (like 'the' or 'and') that appear across many documents. It is widely used in text analytics and NLP.