Lecture 5: More preprocessing and text features
More preprocessing and text features
Slides
Course notes
Outline
- Preprocessing pitfalls and data leakage
- Handling unseen categories and high-cardinality features
- Bag-of-words representations and CountVectorizer
- Evaluating text pipelines and comparing with a baseline