AI GLOSSARY · AI CONCEPTS
Hyperparameter
Definition
A hyperparameter is a configuration value that controls a model or learning procedure rather than an ordinary learned model parameter. People or automated tuning methods can select it; examples include a training learning rate.
Also called: hyperparameters.
In plain language
A hyperparameter is a setting, such as a learning rate or batch size. A person can choose it, or a tuning system can compare settings automatically. The distinction is its role: it configures the procedure rather than serving as a model weight learned by that procedure. Poor settings can waste compute or reduce performance, so compare them using an appropriate validation design.
Technical definition
Hyperparameters configure a model or procedure. Training examples include a learning rate, batch size and epoch budget; a learning-rate schedule can change the rate during a run. Hyperparameter search can compare candidate runs automatically, for example with grid or randomized search. Validation results guide selection, while a separate test set supports final evaluation. Automatic selection does not turn a configuration setting into an ordinary trained weight.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Skill by Skill Almanac · Illustrative, not executed
llm-eval-test-sets 57/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Builds and validates an eval dataset for any LLM feature, with a checker for duplicates, missing graders, imbalance and leakage.
- Why it exercises the concept
- Tuning compares candidate settings on validation cases, reserving separate test data for final evaluation. This skill checks dataset structure and selected duplicate/leakage signals; those checks alone do not establish grading correctness or trustworthy outcome comparisons.
Guide · Illustrative, not executed
Prompt Engineering for Agents vs Chat Models
- What you see
- The guide compares prompting an agent with prompting a chat model, and cites Anthropic's advice to have success criteria and a way to test them before improving a prompt.
- Why it exercises the concept
- Prompt wording is a setting you adjust after training, and the guide shows the same test-then-change habit that hyperparameter tuning uses before training.
Coding tool · Illustrative, not executed
Claude Code
- What to try
/model- What you see
- Claude Code’s /model changes the selected model setting. Aliases, hybrid settings and configured fallback behavior can cause later turns to use different models; inspect the active configuration rather than assuming every answer uses one fixed model.
- Why it exercises the concept
- Model choice is one of the settings open to an agent user. The training hyperparameters of that model were fixed by its builders before you saw it.
How it shows up when you use agents
Hyperparameters are set when a model is trained, so they are mostly out of sight when you run Claude Code, Codex, Cursor or Gemini CLI. The model you pick has already been trained with values its builders chose. You see the result, not the settings.
They reach you in three ways:
- Fine-tuning forms. If you fine-tune a model with a provider or a library, a training job typically exposes settings such as learning rate, batch size and epochs (the three IBM names). The safer habit is to change one value at a time and compare the results.
- Other settings get the same name. Documentation sometimes calls generation settings, such as a randomness control, "parameters" or "hyperparameters" loosely. Those apply when a model answers, not when it trains, so check where in the process a setting applies.
- The method carries over. Tuning compares settings on validation data; reserve a final test set so repeated selection does not contaminate the reported evaluation. The same discipline helps when you adjust a prompt, an instruction file or a skill: change one thing, rerun the same checks, keep what helps.
If a training run goes badly, the next action is to change one setting, rerun it, and compare against data held back from training. See Overfitting for why training results alone mislead.
Common confusions
- Hyperparameter versus parameter. Parameters, such as weights and biases, are learned during training. Hyperparameters configure the procedure and can be selected manually or automatically; schedules may vary a value during a run. Google's course puts it as hyperparameters controlling aspects of training, while parameters are part of the model itself.
- Hyperparameter versus prompt. A prompt steers a finished model at answer time. A training hyperparameter configures the learning procedure; some documentation also calls inference settings hyperparameters. See Prompt engineering.
- Hyperparameter versus a setting you can see. Many hyperparameters never appear in an agent's menus, because they were fixed when the model was trained. A setting in your tool is not necessarily one of them.
- Tuning versus training. Training updates the parameters. Tuning searches for good hyperparameters, and each trial usually means another training run.
Related terms
Show all 13 related terms
Terms that mention Hyperparameter
More in AI concepts
Sources
- What is hyperparameter tuning?, IBM (accessed 2026-11-24)
- Linear regression: Hyperparameters, Google for Developers (accessed 2026-11-24)
- Machine Learning Glossary: hyperparameter, Google (accessed 2026-11-24)
- Tuning hyper-parameters of an estimator, scikit-learn (accessed 2026-11-24)
- Model configuration: model settings, aliases and fallback behavior, Claude Code documentation (accessed 2026-11-25)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-25. Wikipedia is never the only source.
Review record
Last verified
Drafted by Claude (original draft); OpenAI Codex (bounded factual repairs); sources and example targets checked by Independent automated source review (OpenAI Codex); not human peer review on 2026-11-25. Last verified .
Change log (6)
- : Independent automated factual/example review completed. Cached US query estimate aligned to receipt; no traffic promise. Final technical gate recorded separately; publication disabled.
- : First version.
- : Verifier pass: applied verifier corrections to unsourced or overstated claims.
- : Targeted correction from source-supported early audit; complete exact-version review remains pending.
- : Bounded source repairs: Bounded eval-structure versus outcome trust and validation/final-test distinction; qualified model selection for aliases/hybrid/fallback behavior. Pending independent re-review.
- : Automated review completed; approved for the staged public release. Search indexing is controlled by the release configuration.