Glossary

What is Hyperparameter?

In Turkish: Hiperparametre · Topic: Models and training

A setting chosen by people before training begins that governs how the learning process runs. Unlike the weights learned from data, hyperparameters are set by hand or by automated search.

How does it work?

Parameters, such as the weights in a neural network, are learned from data during training. Hyperparameters are chosen before training starts: the learning rate, batch size, number of epochs, number of layers and so on. Since good values are not known in advance, teams try different combinations, using grid search, random search or smarter search methods. Each trial is a separate training run, and results are compared on validation data. Oven temperature and baking time are hyperparameters, while the finished dish is the trained model.

Why does it matter?

Even with the same architecture and the same data, hyperparameter choices can change performance noticeably. With large models each trial is very expensive, so finding good settings with few attempts is an important engineering skill. Whether settings were tuned fairly also affects how model comparisons should be read.

Example

A team trains the same image model with three different learning rates and keeps the one with the best validation score; here the learning rate is a hyperparameter and the model's weights are parameters.

FAQ

What is the difference between a parameter and a hyperparameter?

Parameters are learned from data during training, like the weights in a neural network. Hyperparameters are set before training by people or search methods and control how learning proceeds.

How are hyperparameters tuned?

Different combinations of values are tried in separate training runs, and their results on validation data are compared. Grid search, random search and automated tuning tools are used for this.

All terms