AI GLOSSARY · AI CONCEPTS
Supervised learning
Definition
Supervised learning is a machine learning method in which a model is trained on examples that come with known correct answers, called labels, so it learns to predict the label for new inputs.
Also called: supervised machine learning, supervised ML.
In plain language
Supervised learning is teaching by example with an answer key. For example, a model can learn from emails marked spam or not spam. Targets may come from human annotation, recorded outcomes or automatic derivation; neither human annotation nor thousands of examples defines the method. Later it can label new items it has never seen. The quality of the answer key matters: if the labels are wrong or the test items leaked into the practice set, the model will look better than it is.
Technical definition
Supervised learning uses training examples that pair inputs with target labels. Classification predicts categories; regression predicts numerical values. Many models learn parameters by minimizing prediction error, but this is not required by every supervised method: basic k-nearest neighbors retains examples and predicts from nearby ones. Separate validation and test data help estimate performance on new examples; their reliability depends on the evaluation design.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
split-leakage-check 53/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A JSON report checking train, validation and test files for duplicates, shared groups, time leakage and label leakage.
- Why it exercises the concept
- Supervised models are judged on data they have not seen. This skill tests whether that separation actually holds.
Skill by Skill Almanac · Illustrative, not executed
llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- An eval dataset for an LLM feature, with a checker for duplicates, missing graders and imbalance.
- Why it exercises the concept
- Known answers support labelled evaluation of language-model features. Building or checking this test set does not itself train a supervised model.
Skill by Skill Almanac · Illustrative, not executed
regex-from-labeled-examples 37/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- A Python regular expression proposed from labelled match and non-match strings, then proved against every example you supplied.
- Why it exercises the concept
- Labelled positives and negatives in, a rule out. It is supervised learning in miniature, with a checkable rule instead of a trained model.
Coding tool · Illustrative, not executed
Claude Code
- What to try
claude- What you see
- A terminal session where an agent can read your training script and data files and run them with your approval.
- Why it exercises the concept
- Agents are commonly asked to write and debug supervised training and evaluation code.
How it shows up when you use agents
Training a classifier from input-target examples is supervised learning. Scoring a model or building an evaluation set is related evaluation work, but does not by itself establish supervised training. The vocabulary shows up in the code: features, labels, train and test splits, loss. Understanding it lets you review what the agent produced instead of trusting a number it prints.
The main risk is leakage. If the same record, or a near-duplicate, lands in both training and test files, the test score is inflated. If a feature secretly encodes the label, the same happens. Ask the agent to show how the split was made, and consider a checker such as split-leakage-check before believing a result.
Language models connect here too. An autoregressive language model can learn next-token prediction from text-derived targets; other language-modeling objectives also exist. Later fine-tuning can use labeled examples of desired answers. Evaluating an LLM feature uses a labelled set as well. For the other main approach, where no labels are given, see Unsupervised learning. For the wider field, see Machine learning.
Common confusions
- Supervised versus unsupervised. Supervised learning needs labelled examples and predicts the label. Unsupervised learning has no labels and looks for structure such as groups. See Unsupervised learning.
- Supervised learning versus fine-tuning. Fine-tuning continues training an existing model on new data. It often uses labelled examples, so it can be supervised, but the terms are not the same.
- Myth. More labelled data always fixes a model. Wrong, duplicated or imbalanced labels can make it worse, which is why dataset checks matter.
- Label versus feature. Features are the inputs. The label is the answer the model should predict.
Related terms
Show all 60 related terms
Terms that mention Supervised learning
39 terms mention this one
- Active learning (machine learning)
- Model training (AI)
- Classification
- Contrastive learning
- Convolutional neural network (CNN)
- Data labeling
- Decision tree
- Feature engineering
- Feature store
- Gemma
- Generative model
- Gradient boosting
- Ground truth
- Image classification
- Imitation learning
- InstructGPT
- Intersection over union (IoU)
- k-nearest neighbors (k-NN)
- Linear regression
- Logistic regression
- Loss function
- Machine learning (ML)
- Machine learning algorithm
- Naive Bayes
- Overfitting
- Predictive analytics
- Random forest
- Regularization
- Reinforcement learning
- scikit-learn
- Self-supervised learning
- Semi-supervised learning
- Synthetic Minority Over-sampling Technique (SMOTE)
- Speech recognition
- Support vector machine (SVM)
- Training data
- Underfitting
- Unsupervised learning
- XGBoost
More in AI concepts
Sources
- What is supervised learning?, IBM (accessed 2026-11-23)
- Introduction to Machine Learning: Supervised learning, Google for Developers (accessed 2026-11-23)
- Nearest Neighbors: classification and regression, scikit-learn (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft) and Codex (automated revisions); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (5)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Targeted correction from source-supported early audit; complete exact-version review remains pending.
- : Required source-scope correction applied; independent affected-claim recheck pending.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.