Your organization wants to automate the routing of incoming customer support emails by sorting them into predefined categories like 'Billing,' 'Technical Support,' and 'Account Security.' Which combination of machine learning task and architecture is best suited for this solution?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Check this out: your boss walks in and says, 'Our support inbox is overflowing, we need a system to automatically route emails to the right departments by lunchtime.' Since you have predefined categories (like Billing or Tech Support), this is a classic text classification problem. You're mapping text inputs to specific labels. And when it comes to understanding the messy, nuanced way humans write emails, nothing beats Transformer-based models like BERT. Think of a Transformer like a super-smart reader who understands the context of a whole sentence, rather than just matching keywords. If you tried to use K-Means, you'd get unlabeled clusters that wouldn't route anything. Regression is for predicting numbers, not categories. And Q-learning? That's for training robots to play video games or navigate mazes, not sorting mail. Stick with Transformers for text classification and you'll look like a hero. Got it? Sweet.
Full explanation below image
Full Explanation
Automatically categorizing incoming customer support emails into predefined folders (such as 'Billing' or 'Technical Support') is a supervised text classification task. In supervised classification, a model is trained on labeled text data to predict discrete category tags for new, unseen text inputs. Modern natural language processing (NLP) relies heavily on Transformer-based architectures, such as BERT (Bidirectional Encoder Representations from Transformers). Transformers excel at text classification because they use self-attention mechanisms to process words in relation to all other words in a sentence, capturing bidirectional context and semantic nuances. This allows the model to understand the intent behind a customer's query, even if they use colloquial language or complex phrasing. Let's look at why the other options are incorrect: Option A is incorrect because K-Means is an unsupervised clustering algorithm. It groups data based on feature similarity but does not assign data to predefined class labels, and it struggles with high-dimensional, unstructured text. Option B is incorrect because regression models (like linear regression) are used to predict continuous numeric outputs (e.g., housing prices), not discrete category labels. Option D is incorrect because reinforcement learning (such as Q-learning) is designed for agent-environment interactions where an agent learns actions to maximize cumulative rewards. It is highly inefficient and inappropriate for standard text classification tasks where labeled training data is readily available. Thus, classification with a Transformer-based model is the optimal choice.