A network builds a mapping in layers
How layers use weights, biases, and activation functions to transform inputs into outputs, with training adjusting parameters and inference using them. · foundational
A neural network is a mathematical model that transforms numerical inputs into outputs. For example, it can take numbers representing image pixels and produce a score for a manufacturing defect. Learning an input-to-output mapping means learning how those input values should influence the result, rather than storing a separate answer for every possible image.
In a simple feedforward network, the input layer receives the numbers, hidden layers transform them, and the output layer produces the result. Each layer passes its results forward to the next. Hidden layers learn intermediate representations: useful combinations of information, rather than final answers.
A typical computational unit, or neuron, multiplies its inputs by weights, adds the products, and adds a bias. Weights control how inputs contribute; the bias provides an adjustable offset. With one input, this calculation is weight × input + bias. Weights and biases are learned parameters. Here, bias means a numerical offset, not unfair treatment of people.