Skip to main content
New Self-paced AI courses — learn ML, deep learning, and agents on your schedule. Enroll free

Natural Language Processing (NLP)

Module 7 · Counting words and classical vectors

Bag of words, n-grams, TF-IDF, cosine search, and the places where counts break: negation, word order, synonyms, and words with two meanings.

5 lessons Follow in order
Use the button below to sign in and unlock lessons.
Your path

Lessons in sequence

Work through these in order—each lesson builds on the previous one.

  1. Lesson 1 of 5

    7.1 Bag of words and n-grams

    Enroll to open · 16 min read

  2. Lesson 2 of 5

    7.2 TF-IDF by hand

    Enroll to open · 18 min read

  3. Lesson 3 of 5

    7.3 Cosine similarity and search

    Enroll to open · 17 min read

  4. Lesson 4 of 5

    7.4 Sparse vectors in code

    Enroll to open · 16 min read

  5. Lesson 5 of 5

    7.5 Where counting breaks

    Enroll to open · 17 min read

← Back to course