What is the difference between a model parameter and a hyperparameter?

Quick Overview

Asks for the difference between model parameters and hyperparameters, with examples of each. Tests whether you know how each kind is set, which data is used to judge each one, and how tuning relates to training.

What is the difference between a model parameter and a hyperparameter?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the difference between a model parameter and a hyperparameter? ```hint Ask who sets the value For any number in a model, ask what sets it (the training algorithm or something outside it) and which data is used to judge whether it is a good value. ``` ### What a Strong Answer Covers - A definition of each kind with examples - How each kind is chosen and judged - How tuning and training relate to each other - Cases that do not fit neatly into either kind ### Follow-up Questions - Why can't you choose the regularization strength by minimizing training loss? - Is the number of epochs picked by early stopping a parameter or a hyperparameter? - How do you tune hyperparameters without biasing the final performance estimate? - Gaussian process kernel length scales are often fit by maximizing the marginal likelihood on training data. Are they parameters or hyperparameters?

Overview: Asks for the difference between model parameters and hyperparameters, with examples of each. Tests whether you know how each kind is set, which data is used to judge each one, and how tuning relates to training.

PracHub logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is the difference between a model parameter and a hyperparameter?

What a Strong Answer Covers Guidance

  • A definition of each kind with examples
  • How each kind is chosen and judged
  • How tuning and training relate to each other
  • Cases that do not fit neatly into either kind

Follow-up Questions Guidance

  • Why can't you choose the regularization strength by minimizing training loss?
  • Is the number of epochs picked by early stopping a parameter or a hyperparameter?
  • How do you tune hyperparameters without biasing the final performance estimate?
  • Gaussian process kernel length scales are often fit by maximizing the marginal likelihood on training data. Are they parameters or hyperparameters?