Whenever you're ready, walk me through how you'd approach this.
HelpHive, a SaaS customer support platform handling roughly 1.8 million tickets per year, wants to automatically classify incoming support tickets into issue categories such as billing, login, bug report, feature request, cancellation, and account security. The current rule-based system performs poorly on rare but high-priority classes, especially account security and cancellation.
You are given a historical ticket dataset built from the first message in each support conversation.
| Feature Group | Count | Examples |
|---|---|---|
| Text features | 1 raw field | subject + first_message |
| Numerical metadata | 11 | customer_tenure_days, prior_ticket_count_90d, sentiment_score, message_length |
| Categorical metadata | 7 | plan_tier, language, channel, region, device_type |
| Temporal features | 4 | hour_of_day, day_of_week, days_since_last_ticket, month |
A good solution should improve minority-class detection without causing a large drop in overall precision. Target at least 0.72 macro F1, 0.88 weighted F1, and recall above 0.70 for the two rare operationally critical classes: account_security and cancellation.