Hyperparameter

A setting chosen by the developer, such as learning rate or batch size, rather than learned by the model itself.

Which numbers were chosen before the run?

An archive trains a duration predictor with a batch size of 16 and a learning rate of 0.01. At the end it reports a learned weight of 2.4. All three numbers appear in the run log, but they came from different processes.

Batch size 16
The training procedure groups up to sixteen examples for a step under this setup. The team selected the setting before this run.
Learning rate 0.01
The optimizer uses this setting to scale an update. A fixed schedule or a tuning procedure might change the value in other runs.
Fitted weight 2.4
Training estimated this value from examples. It can change from update to update even when the batch size and learning rate stay fixed.

Can a hyperparameter be selected automatically?

Yes. A search procedure can try several values and use validation performance to choose among them. What matters is the level at which the value is selected. The weight is fitted within a run, while the learning-rate choice can be evaluated across runs.

Two control dials and a separate gauge share an instrument panel.
Training settings are chosen before or during a run. Fitted values emerge from the updates.

What belongs in a reproducible comparison?

Record the settings, data split, random seed or repeat procedure, evaluation metric and training budget. Equal epoch counts alone may conceal different numbers of optimizer updates when batch sizes differ.

Follow the idea

Model Parameters · Identify values learned by fitting.

Learning Rate · See one hyperparameter act on a single update.

Source · Google on training hyperparameters

Return to Hyperparameter in the A–Z glossary