liveBook · Manning

Hyperparameter

As explained in Designing Deep Learning Systems: A guide for software engineers

A configuration value selected before or outside model fitting that controls a learning algorithm or training process.

A hyperparameter is a configuration value set before model training that controls the learning process. Unlike model parameters such as weights and bias, it remains static during training and cannot be learned from data. section 5.0 section 5.1.1

Common hyperparameters include:

Hyperparameter values affect model accuracy, training speed, memory requirements, and learning behavior. Because many values may need testing, hyperparameter optimization automates the search for configurations that produce strong training results. section 5.0 section 5.5

Spiral classification in TensorFlow Playground

A configuration with six hidden layers, five neurons per layer, ReLU activation, batch size 10, and L1 regularization can classify a spiral-shaped pattern accurately after nearly 500 epochs. section 5.1.2

How Designing Deep Learning Systems: A guide for software engineers covers it

How deep it goes
Defines static training configuration and distinguishes it from learned model parameters through concrete examples, without deriving optimization internals.
Examples
Uses learning rate, batch size, epochs, optimizers, ReLU, layer counts, embedding dimensions, and TensorFlow Playground experiments.
What it assumes
Assumes basic model-training terminology while teaching the distinction between learned parameters and pretraining configuration from zero.
What you can do after
Apply it via TensorFlow Playground by changing training and architecture settings and observing accuracy, training time, and learning curves.
How it connects
Links model parameters, model training, hyperparameter optimization, neural-network architecture, optimizers, activation functions, and regularization.

Also explained in

Compare how 19 books explain hyperparameter →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Designing Deep Learning Systems: A guide for software engineers. The section links point to the parts of the book it draws on.