Stockertim Dictionary · Technology · Artificial intelligence
Label
Also called labels, target, target variable, outcome variable
In short
In supervised machine learning, the known answer each training example carries and the model learns to predict, such as whether a loan was repaid or next month's return.
- Advanced
- Concept
- Checked
In detail
Supervised learning needs examples paired with answers. The answer is the label: default or no default, fraud or genuine, the price a house sold for, the return a share earned over the following month. During training the model adjusts itself to map features to labels as closely as possible, and at prediction time it estimates the label for new cases where the answer is not yet known.
Choosing the label is one of the most consequential design decisions in a project, because the model will optimise exactly what it is given. A lender could label loans as bad after 30, 60 or 90 days of arrears, over one year or three; each choice produces a different model. In trading, predicting the direction of the next day's move, the size of the next month's return or whether a share beats its sector are very different problems.
Labels can be noisy, delayed or biased. Fraud labels depend on what investigators confirmed, so undetected fraud is labelled genuine. Loan outcomes are known only for applicants who were approved, so the model never sees how rejected applicants would have behaved. Human-labelled data reflects the judgement of the people who labelled it. Reviewers examine how labels were defined and collected before trusting the model.
Worked example
Harbour Bank labels each past personal loan as bad if it reached 90 days in arrears within 12 months, and good otherwise. Of 20,000 loans, 1,200 meet that rule.
- Share labelled bad: 1,200 / 20,000 = 6%
- Loans labelled good: 20,000 − 1,200 = 18,800
The model learns to predict that 12-month, 90-day definition of bad, and nothing else.
In practice
Credit, fraud and anti-money-laundering models depend on carefully defined labels, often agreed between data scientists, risk teams and compliance. Model documentation records the label definition so validators and regulators can judge whether it fits the business use.
Watch out
- A label in machine learning is the answer to predict, not a tag or a brand name.
- Changing the label definition changes the model; results built on different labels are not comparable.
Learn it properly
- The data pipeline and features for financial machine learning15 min lesson Free course: AI and machine learning applied to financial data
- Financial independence maths15 min lesson Free course: Wealth, retirement & long-term planning: Intermediate
- Rebalancing methods: calendar, bands and cash flows15 min lesson Free course: Portfolio management: Intermediate
- Transition plans and net zero targets15 min lesson Free course: Sustainable finance and climate risk
- What is rebalancing?5 min lesson Free course: Investing strategies: Intermediate
Official sources
- Artificial Intelligence Risk Management Framework (AI RMF 1.0) · National Institute of Standards and Technology
- Adversarial machine learning: a taxonomy and terminology of attacks and mitigations · NIST Computer Security Resource Center
Facts last checked on 4 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.