Skip to content

Glossary: NLP with Transformers

TF-IDF

Also written: TfidfVectorizer, term frequency times inverse document frequency

A word-weighting method: high when a word is frequent in this message but rare across messages. It makes each message a vector with one number per vocabulary word.

Where the book teaches it

Related terms

BaselineBigramLogistic regression