Interview practice question
Text classification with limited data
Machine Learning · Classical ML · Intermediate
You have 3,000 labeled legal documents to classify into 5 types. Which classical approach would work well?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- TF-IDF with n-grams creates high-dimensional sparse features.
- Linear SVM or logistic regression excel here.
- Cross-validation for C/regularization.
- Compare with embeddings plus logistic regression.
- Consider zero-shot LLM baseline.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.