Perceptron and Multilayer Neural Networks
Formal neuron and perceptron → Activation functions → Multilayer network (MLP) → Weight initialization → Numerical example
Formulas
Neural networks are inspired by biology, but have long since become an independent mathematical field. Rosenblatt's perceptron (1957) is the simplest formal neuron that already reveals the main principle: linear transformation + nonlinear activation. Multilayer networks (MLP) made of such neurons...
Biological motivation: A neuron in the brain receives signals through dendrites, sums them in the cell body, and "fires" (spike) only when the threshold is exceeded. The perceptron models this: weighted sum of inputs + threshold activation function.
Perceptron: $y = \operatorname{sign}(w^\mathrm{T}x + b) = \operatorname{sign}(\sum_i w_ix_i + b)$, where $x \in \mathbb{R}^n$ is the input vector, $w \in \mathbb{R}^n$ are weights, $b$ is bias (threshold), sign is the sign function ($\pm1$). Geometrically: $w$ and $b$ define the hyperplane $w^\ma...
Perceptron convergence theorem (Rosenblatt, 1957): If classes are linearly separable, the update algorithm $w_{t+1} = w_t + y_ix_i$ (when there is an error on $(x_i, y_i)$) converges in a finite number of steps. The upper bound of iterations: $(R/\gamma)^2$, where $R = \max||x_i||$ is the radius,...