07. Document Classification

Chapter 7 of 18 · 25 min
EXERCISE

Collect 30+ documents across at least 4 different types (invoices, contracts, letters, forms). Build a classification system that: (1) uses rule-based classification as baseline, (2) trains TF-IDF + Logistic Regression classifier, (3) uses zero-shot transformer classification, (4) reports accuracy and confidence distribution for each approach. Identify the failure cases where methods disagree.