Skip to content
Middle+0 views

What is the difference between model parameters and hyperparameters?

Practice

Asked at

AI answer

Model parameters are estimated by the model from training data, such as weights and biases in a neural network or coefficients in linear regression. Hyperparameters are set before training or selected during tuning, and determine the model’s structure or the course of training, such as tree depth, learning rate, or regularization strength. Hyperparameters are usually selected using a validation set or cross-validation.