Software Testing / Learning brief
Tom counts the smoke alarm mistakes
In simple terms / 01
What this means in plain language
A smoke alarm can shriek over toast or miss a real fire. Tom uses that picture to count the urgent helper's two kinds of mistake, choose between precision and recall, and spot a helper that drifted.
Complete lesson / 02
Understand the full idea, step by step
A smoke alarm can fail in two ways. It can shriek over toast. It can stay quiet during a real fire. Changing sensitivity often trades these errors, but a perfectly separated set can have neither.
Tom has an alarm of his own. It is the urgent helper in Daily List. Leo says it is 80 in 100 right. Tom wants to know what kind of right.
Evidence & review / 03
Evidence & review
The date on this lesson is when it went up on Payments Signal, not when its material was written — most of these were brought across from an earlier catalogue in a single run, which is why so many of them share a date. What the lesson says about the world is dated by the review above and by the sources below it.
Model metrics as taught in this academy, with an invented app and invented people. Every figure comes from a script run on a tiny made-up data set.
What this brief simplifies: Fiction labelled SYNTHETIC / TRAINING ONLY. Sources were seen only as search excerpts. The smoke alarm is a teaching picture, and all counts are made up.
Sources for this brief — 5 sources
- Market practice
Classification: accuracy, recall, precision and related metrics (Google Machine Learning Crash Course) ↗ — Google · Accuracy is a rough measure only when classes have similar counts; with rare positives a model that always predicts the common class scores high yet is useless; recall and precision are more meaningful, and all are computed at one fixed threshold (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Metrics and scoring: quantifying the quality of predictions (scikit-learn user guide) ↗ — scikit-learn project · The confusion matrix counts items by true group and predicted group; precision is true positives over true positives plus false positives (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: scikit-learn 1.9.1 documentation as seen in the excerpt. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
What Is Data Drift in Machine Learning (and How to Detect It) (Chalk blog) ↗ — Chalk · Data drift is a change in the distribution of input features in production compared with training while the model itself stays the same (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Version: Web page, no edition number. Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Market practice
Artificial Intelligence Risk Management Framework, version 1.0 (National Institute of Standards and Technology) ↗ — National Institute of Standards and Technology · Test sets and metrics are documented, and systems are tested before release and while running (search excerpt, page not opened)
Found through a web search; the page was not opened (search excerpt, page not opened). Licence terms were not read, so put it in your own words and do not quote it. Open the page and confirm what it says before relying on any detail.
- Simplified educational illustration
Payments Signal editorial teaching models — Payments Signal
Used wherever diagrams, scenarios, figures, or example values are didactic constructions rather than sourced facts; every such use carries a simplifications disclosure. All people, companies, banks, and list entries in examples are fictional.