AAmit’s LibraryLEARN · PRACTISE · REFLECT

Planning and branding × Natural language processing

Business lens: Planning and branding · Technology lens: Natural language processing

Reading scope: Original synthetic business-computing teaching with explicit boundaries. Primary links support selected background, not the invented organisations, figures or tested outcomes.

Listening to customers without surrendering judgement

A local training business wants its brand promise of helpful support to be informed by learner feedback. It receives short comments in several writing styles, sometimes mixing languages and abbreviations. Natural language processing can organise this material, but text labels are interpretations rather than direct readings of a person’s intent. Start with the managerial question: does the team need to find unresolved complaints, learn common confusion or compare wording across service stages? Those are different tasks. A sentiment score may be poorly suited to identifying a specific unresolved request. Define the meaning of the chosen category and the human process that will follow a flagged comment before selecting a classifier.

An annotation protocol for a narrow task

For a bounded exercise, define a positive category as a comment containing a request that needs support follow-up under the supplied examples. Develop an annotation guide with clear cases, counterexamples and a route for ambiguity. Keep permitted data handling and access visible; practice can use invented comments instead of real learner information. Review disagreements between human annotations before treating the labels as unquestionable ground truth. Choose an evaluation split that avoids placing near-duplicate messages from one exchange across development and assessment. Public metrics documentation supports the distinction between prediction assessment and decision use. It cannot establish that the training business’s labels, language coverage or operating procedure are appropriate.

Precision, recall and the remaining work

In the synthetic reviewed sample there are forty comments. Human review identifies ten as needing follow-up. The tool flags twelve; eight of those are true positives and four are false positives. It misses two of the ten actual positives, leaving twenty-six true negatives. Precision is 8/12, approximately 66.67%; recall is 8/10 = 80%. Accuracy is (8 + 26)/40 = 85%. Each denominator answers a different question. The manager cannot infer that 85% of urgent requests will be served, and the two missed cases matter even when the aggregate appears favourable. These calculations describe this invented sample under its annotation rule, not performance on multilingual future feedback.

Where departments and humans fit

Support reviews the flagged queue and maintains a route for unflagged complaints to reach a person. Marketing uses appropriately aggregated themes to examine the brand promise, while teaching staff investigate recurring content confusion. The analyst records model and annotation versions and checks whether certain message styles are systematically missed. Management decides how much follow-up capacity is available and which mistakes need escalation. The four false positives create review work; the two false negatives can leave people without assistance. Neither error should be hidden to make the tool seem successful. Staff need permission to correct labels and challenge the procedure without being judged solely by the number of messages processed.

Failure cases and feedback loops

A comment saying that a lesson was brilliant except that the payment link never worked can combine praise with an unresolved practical problem. A purely positive sentiment label may overlook the support need. Sarcasm, unusual spelling and context from earlier messages can create other failures. Inspect examples and their consequences before modifying the rule or retraining. Keep a stable reviewed set for comparison and separately collect new evidence, with appropriate handling. Raising recall by flagging nearly everything might overwhelm support; raising precision may miss more requests. Improvement needs a stated cost and capacity tradeoff. Avoid presenting automated labels as objective customer opinion or allowing a classification result to decide how a learner is treated.

Progressive enquiry and portfolio

Who defines follow-up need? Whom do missed requests inconvenience? Whose interpretation supplies the reference label? What does precision measure here? Where can an unflagged learner seek help? When should multilingual coverage be reconsidered? Why is accuracy insufficient? Which error creates more serious service consequences? How will reviewers correct and document disputed labels? Foundation work labels a handful of invented comments with explanations. Undergraduate work reconstructs the confusion matrix and all three rates. Postgraduate work compares thresholds against staff capacity and missed-request costs. Research work defines a study of annotation agreement or language variation, acknowledging small samples and selection. The portfolio should present both useful grouping and specific failure examples, preserving the learner’s voice rather than pretending to exhaust its meaning.

Study questions and answers

Calculate precision and recall.

Precision is 8/12 ≈ 66.67%; recall is 8/10 = 80%. The ten human-labelled positives include eight found and two missed.

Marking guide: Credit precision 8/12 ≈ 66.67%, recall 8/10 = 80% and two missed human-labelled positives. Use the right conditional denominators.

Reconstruct accuracy.

There are 26 true negatives and eight true positives, so accuracy is 34/40 = 85%. This does not measure resolution of requests.

Marking guide: Credit 26 true negatives plus eight true positives, 34/40 = 85%. Distinguish label accuracy from resolved customer requests.

Why keep an unflagged support route?

The classifier misses some requests and may fail outside the sample. People need an accessible correction path that does not depend solely on the tool’s label.

Marking guide: Credit false negatives and possible out-of-sample failure. Require an accessible support/correction route independent of being flagged.

Practice task

Write an annotation guide, label invented comments, reconstruct the four confusion-matrix counts and propose a human review and correction workflow.

Sources and further reading

  • scikit-learn — Metrics and scoring
    Scope: Selected prediction-versus-decision and classification-metric background checked; not a trained model, package installation or evaluation of real customer feedback.
    Access: Public selected reading retrieved without an account. Free reading does not establish free services, certificates or hosted execution.

Related chapters

Interactive practice

Open workshop

Open interactive matrix reading