What is the difference between a parameter and a hyperparameter?

Instruction: Define both terms and explain how they differ from each other.

Context: This question assesses the candidate's knowledge of the distinctions between model parameters and hyperparameters.

Official answer available

Preview the opening of the answer, then unlock the full walkthrough.

The way I'd explain it in an interview is this: A parameter is a value the model learns from data during training, such as the weights in a neural network or the coefficients in logistic regression. A hyperparameter is a value you set or search over outside the training loop,...

Related Questions