liveBook · Manning

Neuron

As explained in Data Without Labels

A neuron is a computational unit in a neural network that combines inputs and applies an activation function to produce an output.

A neuron is a small computational unit in a neural network. It receives numerical inputs—either raw data or outputs from other neurons—and produces an output that can feed the next neuron. An artificial neuron is a simplified model of a biological neuron; a perceptron is a mathematical model of this unit. section 8.2.2

To produce its output, a perceptron multiplies each input by a weight, combines the weighted inputs, and passes the result through an activation function. Weights determine how strongly inputs contribute; bias terms also play a role in the perceptron. Activation functions provide the nonlinear step. section 8.2.2 section 8.13

Figure 8.3 A neuron gets the inputs, processes them using mathematical functions, and then generates the output.
figure

Follow the inputs through the neuron's calculation to its output. section 8.2.2

Neurons are commonly arranged in layers. An input layer receives data, hidden layers process it and learn features, and an output layer makes a prediction. In the layered arrangement shown here, a neuron's inputs come from the preceding layer and its outputs go to the next. section 8.2.3

Recognizing a face

A face-identification network trains on images paired with names. As image data passes through its neurons, hidden layers learn attributes useful for distinguishing faces; the output layer produces the prediction. A convolutional neural network uses a more localized connection pattern: each neuron in a convolutional layer connects to only a small region of the input. section 8.2.1 section 8.2.3 section 8.6.1

How Data Without Labels covers it

How deep it goes
Explains numerical inputs, weights, weighted sums, activation, and layered connections; does not work through a numerical calculation.
Examples
Illustrates neurons with a face-identification network, layer diagrams, and localized connections in image classification.
What it assumes
Introduces the unit through a biological analogy and numerical inputs before describing its calculation.
What you can do after
Evaluate/understand it: trace how a neuron transforms inputs and passes its output toward a network prediction.
How it connects
Connects neurons to perceptrons, weights, biases, activation functions, network layers, and convolutional neural networks.

Also explained in

Compare how 6 books explain neuron →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Data Without Labels. The section links point to the parts of the book it draws on.