Skip to content

Example report 18 · Customer operations · Text Classification

Route support requests to the right team

Classify each support message by the team most likely to help.

All examples

Recommended by Impulse AI

Impulse AI result

Selected model: CatBoost

Standard algorithms and custom models are candidates within the Impulse AI workflow—not competing services.

Illustrative test result · Accuracy
87.2%

Suggest a queue while allowing agents to change the assignment.

Records
27,000 fictional messages
Training / test
21,600 / 5,400
Metric
Accuracy · higher is better
Models evaluated
8

01The business question

Classify each support message by the team most likely to help.

Each record represents one message. The target to predict is support_team.

What you would do with it

Suggest a queue while allowing agents to change the assignment.

02The input data

Input messages or descriptions and their category labels, plus the six numeric descriptors below. Text comparison methods use the original text as well as the applicable descriptors.

  • message_lengthinput
  • word_countinput
  • language_confidenceinput
  • keyword_countinput
  • prior_contactsinput
  • account_ageinput
  • support_teamtarget

Group-held-out 80/20 split; repeated entities stay in the same partition.

03Models evaluated

This illustrative recommendation represents model selection on training/validation data. The separate test scores below show how the candidates compare; a real workflow must not use its final test set to choose a model. Higher is better for Accuracy.

Candidates within the Impulse AI workflow; fictional test scores, not a ranking of competing services
Candidate modelTest Accuracy (illustrative)
CatBoostSelected by Impulse AI87.2%
Impulse AI custom model86.6%
LightGBM83.8%
Random Forest82.4%
Multinomial Naive Bayes80.9%
Linear SVM (TF-IDF)79.5%
Logistic Regression (TF-IDF)78%
Most frequent classbaseline62%

04Practical takeaway

In this fictional report, Impulse AI selects CatBoost, with an illustrative test result of 87.2%, compared with 62% for the Most frequent class baseline. Impulse AI’s role is to evaluate candidates and deliver the selected model, whether it uses a standard algorithm or a custom model. The prediction supports one decision: suggest a queue while allowing agents to change the assignment.

05Limitations

  • A fictional adaptation of text categorization. Personal information should be removed or handled under an appropriate data policy.
  • All rows and scores are invented for illustration; a real table would need its own evaluation.
  • A single test split gives one estimate; scores on new data will vary.

06Source of inspiration

Hugging Face · Listed under finished competitions; 2023 deadlines

Finished competitions: Movie Genre Prediction and AI Or Not(opens in new tab)

The linked sources inspired this fictional problem; the report may simplify or adapt the original task. No source datasets were downloaded or evaluated, and no competition results were copied.

07Exploratory data profile

A compact illustrative profile of the 6 inputs, not the full checks a real engine run performs. 648 missing values appear across the table. All ranges are fictional.

Illustrative column profile, fictional values
ColumnTypeValidMissingMissing %UniqueMeanStd devMin25%Median75%MaxZeros %
message_lengthNumeric27,00000.0%9123.515.667011.7523.535.251881.0%
word_countNumeric27,00000.0%21235.523.667017.7535.553.252682.5%
language_confidenceNumeric26,5144861.8%1210.640.2400.460.640.8214.0%
keyword_countNumeric27,00000.0%42959.539.667029.7559.589.254281.0%
prior_contactsNumeric26,8381620.6%57571.547.667035.7571.5107.255082.5%
account_ageNumeric27,00000.0%69683.555.667041.7583.5125.255884.0%

08Use your model

Download model

Take a reusable model package to run predictions in your own environment.

Host for inference

Have Impulse AI host your model so you can send new data for predictions.