Skip to content
Book a conversation

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.

Luiz GardelinUpdated Read in Markdown
All terms

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation
On this pageIntroduction

Also used as: training, AI model training.

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. Source: Google, 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.

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 and 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.

Sources

  1. Machine Learning Glossary: Training Google for Developers

    General description, with a loss function discussed for supervised learning. Not all training requires labeled examples.

  2. Machine Learning Glossary: Loss function Google for Developers
  3. Machine Learning Glossary: Generalization Google for Developers
  4. Machine Learning Glossary: Overfitting Google for Developers

Written by

Luiz Gardelin

Founder and lead consultant at The Company Brain

Luiz Gardelin is the founder and lead consultant at The Company Brain, an AI organizational transformation consultancy based in Brazil. He also founded Webinhood and Tropk.ai.

See all content by this author

A conversation about your organization.

Before recommending any tool, we talk with your teams and map how the work really happens.

Arrange a conversation

Related terms

Continue reading

All resources