Term frequency-inverse document frequency is a numerical statistic that is intended to reflect how important a word is to a document in a collection or corpus.
The number of times a word appears in a document is divided by the total number of words in the document. Every document has its own term frequency.
➡️ FORMULA FOR TFIDF
Study more about Natural Language Processing at Natural Language Processing Class 10