# Machine learning model

> Canonical: https://skillalmanac.com/glossary/machine-learning-model | Last verified: 2026-11-25 | Index status: index-eligible

A machine learning model is the fitted result of a learning procedure, used to make predictions or decisions. Its representation can include learned parameters, retained training examples or other learned structure.

Also called: ML model, what is a machine learning model, trained model.

## In plain language

A machine learning model is what you have after training. Suppose you want to predict house prices. You pick a learning method, show it many past sales, and it adjusts itself until its guesses are close. For a parametric method, the model includes learned numbers and a procedure for using them. Instance-based methods can instead retain training examples as part of the model. Give it a new house and it returns a price estimate. The method that produced it is a separate thing, covered under machine learning algorithm. A model is only as good as the data it was trained on and can be wrong on cases unlike that data. Models can also go stale when the world changes, so a stored model needs checking against recent examples.

## Technical definition

A model represents what a learning procedure fitted from data; its form depends on the method. Parametric models can be persisted as parameter values plus structure, such as neural-network weights. Instance-based methods such as nearest neighbors retain training examples. An ordinary inference call can map inputs to outputs without updating the model, while incremental or online learning explicitly updates it with new data. Retraining or fine-tuning can produce a new version. Two models can come from the same algorithm with different data or settings and behave differently.

## How it shows up when you use agents

Claude, GPT and Gemini are models in this sense, and the agents you run call one. When you use the `/model` command in Claude Code you are choosing which trained model answers; the files, tools and instructions stay the same. Without an explicit update step, ordinary inference leaves learned parameters unchanged; the model uses its learned knowledge and supplied context. Online or incremental learning is a separate update operation. See [AI model](/glossary/ai-model) and [Inference](/glossary/inference).

What breaks when this is misunderstood: people say the model "learned" from their chat and expect it to remember next time. A response alone does not establish that learned parameters changed. For ordinary inference, store persistent session information where the application can load it; an explicit training update is different.

The procedure that produced a model is a different thing: see [Machine learning algorithm](/glossary/machine-learning-algorithm). Next action: when you compare tools, ask which model each uses and test on your own task.

## Common confusions

- **Model versus algorithm.** The algorithm is the training procedure; the model is the trained result. One algorithm can produce many different models. See [Machine learning algorithm](/glossary/machine-learning-algorithm).
- **Model versus product.** ChatGPT and Claude are products built around models, with an interface, tools and settings.
- **Model versus dataset.** The dataset is what the model was trained on. Parametric models store learned parameters; instance-based models can retain training examples. This distinction alone does not settle memorization or privacy questions.
- **Machine learning model versus AI model.** A machine learning model is the common case of an AI model; some AI systems use hand-written rules instead of learning. See [AI model](/glossary/ai-model).

## Worked examples in this catalogue

### [split-leakage-check](https://skillalmanac.com/skills/skill-almanac/split-leakage-check)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A JSON report on train, validation and test files covering duplicates, shared groups, and time or label leakage.

Why it exercises the concept: A model is judged on data it did not train on. This check can flag specified forms of overlap or leakage in the supplied split files. It does not certify that all leakage is absent or that an evaluation is valid.

### [local-model-sizing](https://skillalmanac.com/skills/skill-almanac/local-model-sizing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A calculation of whether an open-weight language model will run on a given GPU, Mac or PC, with weight, KV-cache and overhead memory per quantization.

Why it exercises the concept: It treats a model as a stored artefact whose parameters take space, which separates the model from the algorithm that trained it.

### [What Is an LLM? The Facts Agent Users Need](https://skillalmanac.com/learn/what-is-an-llm-for-agent-users)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: The guide explains what an LLM does and which facts about context, cost and errors matter to an agent user.

Why it exercises the concept: An LLM is one kind of trained model. The guide shows the model treated as a fixed component inside a larger agent.

## Related terms

- [Machine learning algorithm](https://skillalmanac.com/glossary/machine-learning-algorithm.md)
- [Machine learning (ML)](https://skillalmanac.com/glossary/machine-learning.md)
- [AI model](https://skillalmanac.com/glossary/ai-model.md)
- [Training data](https://skillalmanac.com/glossary/training-data.md)
- [Inference](https://skillalmanac.com/glossary/inference.md)
- [Pretraining](https://skillalmanac.com/glossary/pretraining.md)

## Sources

- [What is machine learning (ML)?](https://www.ibm.com/think/topics/machine-learning), IBM (accessed 2026-11-24)
- [Machine learning, explained](https://mitsloan.mit.edu/ideas-made-to-matter/machine-learning-explained), MIT Sloan School of Management (accessed 2026-11-24)
- [What is artificial intelligence (AI)?](https://www.ibm.com/think/topics/artificial-intelligence), IBM (accessed 2026-11-24)
- [Nearest Neighbors: instance-based learning](https://scikit-learn.org/stable/modules/neighbors.html), Official documentation (accessed 2026-11-25)
- [Scaling strategies: incremental learning](https://scikit-learn.org/stable/computing/scaling_strategies.html), Official documentation (accessed 2026-11-25)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-25. [Glossary index](https://skillalmanac.com/glossary.md).
