What is hyperparameter?
A setting chosen by the person training the model and not learned from data, such as the learning rate or the number of layers.
Where it is taught
Training in practice. A real network, real data, a real training loop. Use it to see overfitting, capacity and the learning rate for yourself.
What the lesson leaves you with
- Underfitting: the model is too simple. Overfitting: it memorises noise in the training set.
- Judge a model on test data it has not trained on, never on its training loss alone.
- Learning rate, layer sizes and training length are hyperparameters you choose.
Questions
- What is hyperparameter?
- A setting chosen by the person training the model and not learned from data, such as the learning rate or the number of layers.
- Where is hyperparameter used in AI?
- A real network, real data, a real training loop. Use it to see overfitting, capacity and the learning rate for yourself.
- What is the key idea to remember about hyperparameter?
- Underfitting: the model is too simple. Overfitting: it memorises noise in the training set.
- Where can I learn hyperparameter step by step?
- In the lesson “Training in practice” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.