Hyperparameter
A setting that a person specifies before training — unlike weights, which the model learns itself.
Examples
| Hyperparameter | What it regulates |
|---|---|
| Learning rate | Size of the learning step |
| Batch size | Number of examples per step |
| Epochs | Number of passes through the data |
| Weight decay | Strength of regularization |
Parameters vs hyperparameters
| Parameters (weights) | Hyperparameters | |
|---|---|---|
| Who sets | Model learns itself | Person |
| When | During training | Before training |
| Example | Billions of numbers | learning rate = 1e-5 |
Selection
Optimal values are found through grid search, random search, or Bayesian optimization. This is a separate engineering task — hyperparameter tuning.