AI for a Small BusinessLesson 73 of 88

Module 8 · Learning from your own numbers

Predicting something rare, and why accuracy lies

In this lesson

  • 10 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 6 of 9 in this chapter

This chapter’s goalGet a defensible answer out of a year of your own transactions: clean it so the counts mean something, make the tool show the code that produced every figure, beat a stated naive baseline before believing any forecast, read a classifier against its base rate rather than its accuracy, name the leak that would have flattered it, and say when the data is too small to support the question and an experiment is the honest alternative.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available
One hundred flagged customers, out of fifteen hundredThey lapsedThey stayedThe model flagged them30 of the 75 who left, reached intime with a call and a voucher.precision, 30 in 10070 calls to customers who weregoing nowhere.the price of a low thresholdThe model said nothing45 of the 75 left without anybodynoticing.recall, 30 of 751,355 customers, correctly leftalone.most of the baseFive per cent lapse in a quarter, so a model that predicts nobody will lapse is ninety-five per centaccurate and worthless. Flag more and recall rises while precision falls; the threshold comes fromwhat a call costs against what a retained customer is worth.
Five per cent lapse in a quarter, so a model that predicts nobody will lapse is ninety-five per cent accurate and worthless. Flag more and recall rises while precision falls; the threshold comes from what a call costs against what a retained customer is worth.

Figure

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

The question, made specific

“Which customers are about to stop buying?” is the most commonly attempted prediction in small business, and the most commonly misread.

First it has to be made answerable. Stop buying is not a thing customers announce. You have to define it: a customer who ordered at least three times and has not ordered in 120 days, where 120 comes from your own data: look at the distribution of gaps between orders and pick a point well beyond where most repeat customers sit.

That definition is now the thing you are predicting. Change it and every number changes with it, which is why it goes in writing before anything is built.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI at Work exam.

Stuck on something?Ask Yetunde, your AI tutor

How to cite: Addaly (2026) ‘Predicting something rare, and why accuracy lies’, in AI for a Small Business. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-for-small-business/predicting-who-leaves (Accessed: 29 November 2026).