liveBook · Manning

Geometric transformation

As explained in Deep Learning with R, Third Edition

A geometric transformation is a mapping that changes the position, scale, orientation, or representation of geometric objects.

A geometric transformation maps data from one geometric space to another. In deep learning, vectorized inputs pass through layers that apply simple tensor-based transformations; together, those layers form a complex transformation from input space to target space. section 20.1.3 section 2.6

Uncrumpling two classes

Imagine red and blue sheets of paper crumpled together into a ball. Each layer makes a small geometric adjustment, gradually uncrumpling the ball until the two classes become cleanly separable. The network learns the adjustments through its weights. section 2.3.6 section 20.1.3

Key properties shape what neural networks can represent:

  • Layers apply elementary transformations whose composition can represent a highly complicated mapping. section 2.3.6
  • Weights parameterize the transformation and are updated according to how well the model performs. section 20.1.3 section 2.6
  • Differentiability makes gradient-based learning possible, requiring a smooth and continuous morphing from inputs to outputs. section 20.1.3 section 2.6
  • Continuous transformations suit perceptual pattern recognition but poorly express discrete, step-by-step logic such as carrying in addition. section 19.1.3
Figure 2.13 Uncrumpling a complicated manifold of data
figure

Visualizes a complicated data manifold being transformed until its classes become separable. section 2.3.6

How Deep Learning with R, Third Edition covers it

How deep it goes
Explains layered composition, parameter updates, and differentiability, but stops short of formal mathematical derivations.
Examples
Uses crumpled colored paper, class separation, vector spaces, and layer-by-layer manifold uncrumpling.
What it assumes
Builds from vectorized data, tensors, layers, and gradient-based training while using geometric intuition instead of dense formalism.
What you can do after
Evaluate/understand why deep networks suit perceptual mappings and struggle with discrete algorithms.
How it connects
Connects tensor operations, neural networks, data manifolds, gradient descent, backpropagation, loss functions, and optimizers.

Also explained in

Compare how 2 books explain geometric transformation →

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.