Unit

Basic concept

One number-maker inside a network: it multiplies its inputs by weights, adds them up with a bias and passes the total through an activation function.

Also called Neuron, Hidden unit, Node

One unit: each input is multiplied by its weight, the products and the bias are added into z, and the activation function turns z into the unit’s output a. Change any number and watch which ones matter. The numbers are made up; the arithmetic is what every unit in every network does.
x₁0.80x₂−0.60x₃0.50b = −0.20z 0.50ReLUa 0.50

z = 1.00×0.8 + 0.50×−1.2 + 0.25×2.0 − 0.2 = 0.500 · a = max(0, z) = 0.500

Every input contributes its weight times its value; the thickest line is not always the largest contribution.

Figure 1. Every number is computed in your browser.

What it is

Units are arranged in layers. Hidden units sit between the inputs and the outputs, where nobody reads them directly; what they respond to is whatever training made useful. A unit whose weights are all zero, or whose total is always negative under ReLU, never fires: the ticket router has eight hidden units, but its original weights use only one of them (H1, which copies Complete).

Easy to misread

A unit rarely stands for one human idea. In small hand-built or edited networks it can (the archived edit turns H2 into an “urgent and complete” detector), but in trained networks most units respond to mixtures of things.

In WeightSpace

The ticket router’s network diagram lights every unit for the chosen ticket, and the Network panel in several catalog workbenches lights units step by step for the original and the edited model.

Other basics