liveBook · Manning

Training

As explained in Deep Learning with R, Third Edition

Training is the process of adjusting a machine-learning model's parameters using data and an optimization procedure.

Training adjusts a model using examples and feedback about how well its outputs match expected results. For neural networks, learning means finding weight values that minimize a loss function; gradient descent provides a way to update them. section 1.4 section 20.1.1

Training also learns useful representations: transformations of input data that make a task easier. A neural-network workflow can combine layers, a loss function, an optimizer, performance metrics, and a mini-batch training loop. section 1.4 section 3.2

Training examples can take different forms:

  • Speech recognition uses audio paired with transcripts; image tagging uses pictures paired with labels. section 1.4
  • Self-supervised training can reconstruct missing or corrupted input, such as denoising images or predicting the next word. section 20.1.1

How Deep Learning with R, Third Edition covers it

How deep it goes
Defines feedback-driven learning and links neural-network weight updates to loss minimization and gradient descent, without deriving the optimization.
Examples
Uses speech recognition, image tagging, image denoising, and next-word prediction as training examples.
What you can do after
Understand how examples, loss, and weight updates work together to train a neural network.
How it connects
Connects training to machine learning, representations, loss functions, gradient descent, and generalization.

Also explained in

Compare how 24 books explain training →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Deep Learning with R, Third Edition. The section links point to the parts of the book it draws on.