AAmit’s LibraryLEARN · PRACTISE · REFLECT

Customer journeys × Natural language processing

Business lens: Customer journeys · Technology lens: Natural language processing

Reading scope: Original fictional teaching; same-author arithmetic checks are not independent editorial validation.

Customer language includes context and disagreement

A fictional subscription business analyses comments after a service change. A language tool marks comments as complaints, and the team treats the flag count as the number of dissatisfied customers. Customer journeys and natural language processing meet at the interpretation of text within a particular episode. One person may send several comments, and a comment can quote a complaint without expressing the author’s own dissatisfaction. Define the theme, unit and source population before assigning labels. A tool can help organise review, but a flag is not automatically a verified customer opinion or a complete account of the journey.

Specify labels and preserve meaning

Support explains collection conditions, reviewers define the theme and the analyst records preprocessing and prediction settings. Include mixed, ironic and unclear statements rather than forcing every comment into a confident category. Human interpretations can disagree too, so document how ambiguity is handled. Keep enough context for review under appropriate privacy controls. Avoid presenting a convenience collection as representative of all customers. Separate development examples from an untouched evaluation set where the design requires one. The useful service question may concern a specific point of confusion, not an overall sentiment score. A label needs an explanation that another reviewer can challenge. Retain the unresolved coding examples for review.

Worked complaint-theme evaluation

The invented evaluation set has seventy comments. Stipulated human labels identify twenty-five relevant and forty-five not relevant comments. The rule flags thirty: twenty are relevant and ten not relevant. Five relevant comments are missed; thirty-five nonrelevant comments are unflagged. Precision is 20/30 ≈ 66.67%; recall is 20/25 = 80%; accuracy is (20+35)/70 ≈ 78.57%. Flag share is 30/70 ≈ 42.86%, while labelled theme share is 25/70 ≈ 35.71%. Neither share counts unique dissatisfied customers because comment-to-customer grouping and the broader satisfaction construct are not specified. These are fictional labels and outputs, not a performed model evaluation.

Use errors to improve the enquiry

Review the ten false positives and five misses for ambiguous context and expressions the rule fails to capture. A revised rule should have an appropriate fresh check rather than be reported as generalising from the same examples used to tune it. Ask whether the theme combines different service problems that need different action. A comment about unclear billing may call for explanation, while a delivery failure requires operational recovery. Better classification metrics cannot by themselves decide the right service response. Retain uncertainty and alternative interpretations. The contribution should connect text evidence to a bounded question about the journey, not turn every model flag into a complaint statistic.

Practice a contextual coding ledger

Use the existing text-classification guide to construct seventy invented comments and the 20/10/5/35 outcome table. Reproduce all three evaluation metrics and both theme shares. Include a quoted complaint, a mixed comment and a missed expression with documented reasoning. Your portfolio should separate comment counts, episode identity and the proposed service action. This reuses guided language teaching; it trains no model, runs no new evaluation fixture and collects no real customer text. Actual future predictions and labels should be retained separately, including disagreements, with any tuning clearly distinguished from later evaluation.

Questions and progressive learning

Who assigns the theme, and Whom should the analyst consult about context? Whose multiple comments are counted? What unit is labelled, Where is original wording retained, and When was the rule tuned? Why are flags not customer opinions? Which errors need review? How is fresh evaluation obtained? Foundation learners distinguish wording and meaning. Undergraduate learners calculate the confusion table and document examples. Postgraduate learners critique aggregation, construct validity and leakage. DBA/research learners design an ethical text-to-journey study with a bounded contribution and independently checked outcomes. For revision, explain why thirty flags do not establish thirty dissatisfied people and why improving precision cannot alone establish the correct response to each customer’s underlying need.

Study questions and answers

What are precision and recall?

20/30 ≈ 66.67% precision and 20/25 = 80% recall against the stipulated labels.

Marking guide: Credit 66.67% precision and 80% recall using stipulated comment labels.

What is accuracy?

(20+35)/70 = 55/70 ≈ 78.57%.

Marking guide: Credit 55/70=78.57% accuracy from twenty plus thirty-five correct cases.

Can thirty flags be reported as thirty dissatisfied customers?

No. Flags are comment-level outputs; identity grouping, context and a satisfaction definition are unspecified.

Marking guide: Thirty flags are comments, not thirty dissatisfied customers; identity/context/satisfaction rules are absent.

Practice task

Prepare a contextual theme evaluation with uncertainty, identity boundaries and appropriate service actions.

Practice bridge

  1. Prepare a contextual theme evaluation with uncertainty, identity boundaries and appropriate service actions.
  2. Reproduce the worked arithmetic, change one assumption and label invented evidence separately from actual practice observations.

Open connected lab

Boundary: Original fictional exercise connected to an existing bounded or guided lesson. No new executable fixture, external platform execution or catalogue lab claimed.

Related chapters

Interactive practice

Open workshop · Open runnable practice · Open lab lab-36

Open interactive matrix reading