Interview practice question
Keyword rules vs ML for categorizing transactions
Machine Learning · NLP · Beginner
Bank transaction descriptions need categorizing (food, travel, bills). The team uses keyword rules that miss many cases. What do you suggest?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Rules work for known merchants but miss variations.
- Train a classifier on labeled descriptions (character n-grams handle messy text).
- Combine with merchant lookup tables.
- LLM for long tail; cache results per merchant.
- Allow user corrections as feedback.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.