Question 5 0.0/1.0 point (graded) 5. What is the main objective of TF-IDF (Term Frequency-Inverse Document Frequency) weighting in text encoding? To assign a weight of 1 or 0 to represent the presence or absence of a word in a document. 0 To assign a weight based on the frequency of a word in a document. To give higher weightage to a term based on its frequency in a document and normalize it based on its frequency across the corpus. To just give higher weightage to frequent words in a document.

Fig: 1