# Model training

Learn how training adjusts a model from examples and why results must also be evaluated on data that was not used for training.

Canonical URL: https://thecompanybrain.com.br/en/glossary/model-training
Authors: Luiz Gardelin
Updated: 2026-11-14T18:37:32.362Z

Model training is the process of adjusting a model's parameters using examples. Parameters are learned values, such as weights and biases used in calculations. During training, a system uses data to modify those values according to a defined objective. The trained model can then be applied to new inputs during [inference](/en/glossary/model-inference). [Source: Google, training](https://developers.google.com/machine-learning/glossary#training).

## The objective guides the adjustment

In supervised learning, examples include a reference answer, and a loss function measures the difference between the prediction and that reference. Training seeks to reduce the loss. The function must suit the problem: predicting a number and assigning a category may require different loss functions. [Source: Google, loss function](https://developers.google.com/machine-learning/glossary#loss-function).

Reducing errors on the training examples is not sufficient. An organization needs a model that is useful on data it has not seen during training. This ability is called generalization. If the model fits the peculiarities of historical data too closely, it can overfit and fail in new situations. [Sources: Google, generalization](https://developers.google.com/machine-learning/glossary#generalization) and [overfitting](https://developers.google.com/machine-learning/glossary#overfitting).

## Hypothetical workplace example

A team wants to estimate the time needed to handle requests. During development, it gathers historical examples containing request characteristics and observed handling times. Training would adjust the model for that task. The team should reserve separate examples to examine whether the estimates remain useful outside the data used for adjustment.

It would also need to check whether the historical data represents the routine it intends to support. If the data includes only straightforward requests, good performance on that subset would not justify using the model for complex requests without further assessment.

Training is different from providing a manual in a conversation. The manual may form part of an inference input without any parameter changes. Teaching a person to use a tool is also different from computational model training. When planning an initiative, establish which activity is actually needed and what result will be assessed. If the starting point is a pretrained model, further adaptation may take the form of [fine-tuning](/en/glossary/fine-tuning).

## Sources

- [Machine Learning Glossary: Training](https://developers.google.com/machine-learning/glossary#training): General description, with a loss function discussed for supervised learning. Not all training requires labeled examples.
- [Machine Learning Glossary: Loss function](https://developers.google.com/machine-learning/glossary#loss-function)
- [Machine Learning Glossary: Generalization](https://developers.google.com/machine-learning/glossary#generalization)
- [Machine Learning Glossary: Overfitting](https://developers.google.com/machine-learning/glossary#overfitting)

## Related reading

- [Machine learning](/en/glossary/machine-learning)
- [Model inference](/en/glossary/model-inference)
- [Fine-tuning](/en/glossary/fine-tuning)
- [AI hallucination](/en/glossary/ai-hallucination)
- [AI prompt](/en/glossary/ai-prompt)
- [Algorithmic bias](/en/glossary/algorithmic-bias)
