liveBook · Manning

Feedforward network

As explained in Classic Computer Science Problems in Swift: Essential techniques for practicing programmers

A feed-forward network is a neural network in which signals move through successive layers in a single direction without cycles.

A feed-forward network sends signals generally in one direction through successive layers without feedback loops. Each neuron combines input values with weights using a dot product, then applies a usually nonlinear activation function. section 7.2

A typical network combines these parts and processes:

  • Layers of neurons transform floating-point inputs into outputs; a simple arrangement can contain input, hidden, and output layers. section 7.2
  • Nonlinear activation functions let the network represent nonlinear problems; without them, the whole network would remain a linear transformation. section 7.2
  • Backpropagation evaluates the final error and distributes corrections backward, updating weights with deltas, prior inputs, prior weights, and a learning rate. section 7.2

Deploying a trained model

A photo app can download a pretrained image-classification model, place it in Apple’s Core ML, and use it without ongoing training. Training is more computationally expensive than using the trained network. section 7.7

Figure 7.2. A single neuron combines its weights with input signals to produce an output signal that is modified by an activation function.

A neuron diagram makes the basic forward operation visible: combine weights and input signals, then modify the result with an activation function. section 7.2

How Classic Computer Science Problems in Swift: Essential techniques for practicing programmers covers it

How deep it goes
Develops neurons, layers, activation, backpropagation, and weight updates, while deferring calculus derivations.
Examples
Uses neuron and layered-network figures plus pretrained image classification deployed through Core ML.
What it assumes
Assumes some vector and dot-product familiarity, while offering intuition without deriving formulas through calculus.
What you can do after
Operate a pretrained feed-forward model in an application through Apple’s Core ML framework.
How it connects
Connects neurons and activation functions with backpropagation, bias neurons, convolutional neural networks, and recurrent neural networks.

Also explained in

Compare how 13 books explain feedforward network →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Classic Computer Science Problems in Swift: Essential techniques for practicing programmers. The section links point to the parts of the book it draws on.