# Hyperparameters

- **Canonical URL:** https://getaimath.com/dictionary/hyperparameters/
- **Topics:** [AI & Machine Learning Fundamentals](https://getaimath.com/dictionary/category/ai-and-machine-learning-fundamentals/)
- **Last updated:** 2026-11-25

## What is Hyperparameters?

**In one sentence:** Hyperparameters are the settings people choose before training starts, which control how the model learns.

Parameters are learned by the model, but hyperparameters are picked by humans. They include things like how fast to learn, how many examples to look at at once, and how long to train. Picking good ones is a bit like choosing the oven temperature and baking time for a cake.

![Training vs. Inference: Studying Flashcards vs. Taking the Test — Simple cartoon diagram comparing AI Training (studying 1,000 flashcards and fixing mistakes until the brain learns the pattern) with AI Inference (answering a brand-new question in 1 second on test day).](https://getaimath.com/diagrams/ai-and-machine-learning-fundamentals.png)
*Napkin Diagram (AI & Machine Learning Fundamentals): Training is the long study session where the AI learns from examples; inference is test day when you actually use it.*

## What is an example of Hyperparameters?

The learning rate and batch size are common hyperparameters.

## Why does Hyperparameters matter?

Bad hyperparameters can ruin training even when the data and model are great.

## Related Concepts

- [Parameters](https://getaimath.com/dictionary/parameters/): Parameters are all the numbers a model learns during training, mainly its weights and biases.
- [Epoch](https://getaimath.com/dictionary/epoch/): An epoch is one full pass through the entire training dataset.
- [Bias](https://getaimath.com/dictionary/bias/): "Bias" has two meanings in AI: a small extra number inside each neuron, and unfair patterns a model picks up from its data.
- [Batch](https://getaimath.com/dictionary/batch/): A batch is a small group of training examples that the model looks at together before updating its numbers.
- [Weights](https://getaimath.com/dictionary/weights/): Weights are the numbers inside a neural network that decide how much each input matters.
- [Batch Size](https://getaimath.com/dictionary/batch-size/): Batch size is how many examples go into each batch during training.

---
Source: The AI Math Dictionary (https://getaimath.com/dictionary/hyperparameters/)
