← Back to AI Glossary

AI Glossary

Hyperparameter

A hyperparameter is a setting chosen before model training begins that influences how an AI model learns from data.

Overview

When an AI model learns, it does not simply start learning on its own.

Before training begins, developers must make several decisions that influence how the learning process will occur.

These settings are known as hyperparameters.

Unlike the parameters that a model learns automatically from data, hyperparameters are selected beforehand. They help control the learning process itself.

Examples include the learning rate, the number of training cycles, the maximum depth of a decision tree, and the size of data batches used during training.

A helpful way to think about hyperparameters is to compare them to the rules of a classroom.

The rules do not determine what students learn, but they influence how learning takes place.

Similarly, hyperparameters shape the environment in which a model learns.

Finding the right combination often requires experimentation because different datasets and problems respond differently to various settings.

Why It Matters

Hyperparameters can significantly influence model performance and often determine whether a model learns effectively or performs poorly.

Real-World Example

A recommendation system may improve dramatically after adjusting its learning rate and training duration through hyperparameter tuning.

Related Concepts

  • Model Training
  • Underfitting
  • Overfitting
  • Cross Validation
  • Bias-Variance Tradeoff