How a Tele2 model learned to sort 230 thousand customer comments

Katerina Chistyakova26 Aug 2022

Problem

Tele2 (T2) runs a bottom-up NPS survey. After a specific touchpoint such as mobile internet, a customer answers closed questions and may leave a free comment. In 2021 this produced 230 thousand free-form comments. Reading them by hand left no systematic work and almost no chance of finding insights. The team also suspected that fixed answer categories push customers toward answers that do not match what they mean, and wanted to see whether the categories fit real messages.

Example from the article: the class names "mobile internet" and "Mobile internet" differ by one capital letter, and a model would read them as different classes.

Solution in brief

A data scientist built a text classifier that assigns each comment to the 12 classes defined by the customer experience team. TF-IDF features over words and word pairs, plus comment length and the customer's NPS score, feed a logistic regression. Separate models then split each class into narrower micro-classes, and the result drives a dashboard of comments by category.

Questions this case answers
  • How to classify a large volume of free-text feedback into a fixed set of business categories when only a small hand-labeled sample exists
  • How to refine broad text classes into narrower sub-classes without relabeling the whole corpus
  • How to turn hundreds of thousands of free-text survey comments into topics that can be tracked and read?
  • How to check whether the fixed survey categories match what customers actually write?

Tools and methods

  • Text normalization — lowercasing and bringing verbs to the infinitive so identical meanings look identical to the model.
  • TF-IDF over words and word pairs — about 30 thousand sparse features per comment.
  • Logistic regression — linear classifier that outputs class probabilities.
  • KNN, SGD classifier, fastText embeddings — alternatives that were tested and not chosen.
  • Per-class models — second-level classifiers that produce micro-classes.
Continue reading — it's free

Google or a one-time email code. No password.