0 votes
in NLP using Python by
TF-IDF helps you to establish?

a. most frequently occurring word in the document

b. most important word in the document

1 Answer

0 votes
by

Answer : b) TF-IDF helps to establish how important a particular word is in the context of the

document corpus. TF-IDF takes into account the number of times the word appears in the

document and offset by the number of documents that appear in the corpus.

● TF is the frequency of term divided by a total number of terms in the document.

● IDF is obtained by dividing the total number of documents by the number of documents

containing the term and then taking the logarithm of that quotient.

Steve Nouri https://www.linkedin.com/in/stevenouri/

● Tf.idf is then the multiplication of two values TF and IDF.

Related questions

0 votes
0 votes
asked Mar 5, 2023 in NLP using Python by Robindeniel
0 votes
asked Mar 5, 2023 in NLP using Python by Robindeniel
...