You train a text classifier with a built-in word-embedding algorithm. The dataset has five classes with these sample counts: A=300, B=292, C=240, D=258, E=310. You shuffle and set aside 10% for testing. After training, confusion matrices for train and test sets are produced. What conclusion can be drawn from these results?
Choose an answer
Tap an option to check your answer.
Correct answer: Classes C and D are likely too similar to each other..
Why this is the answer
The confusion matrix shows a high number of misclassifications between classes C and D, indicating that the model struggles to distinguish between them. This suggests that the features (word embeddings) for these two classes are very similar, making them difficult for the classifier to separate. The dataset size (around 1300 samples) is generally sufficient for a holdout validation set, and the class distribution is relatively balanced (ranging from 240 to 310 samples), so these are not the primary issues. Overfitting on specific classes would typically result in high accuracy on the training set for those classes but poor performance on the test set, which isn't directly indicated as the main problem here compared to the specific confusion between C and D.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed