Paperlane

no. 22 · Wednesday 25 November 2026

From Horner's rule to neural networks

Lorenzo Pareschi

math.NA

Abstract

Horner's rule is usually taught as an efficient algorithm for evaluating a polynomial. Read as a recurrence, however, it is also a small computational graph: an input is propagated through intermediate states, while parameters enter locally. This note follows that elementary observation from polynomial evaluation to polynomial fitting. The equation $Va\simeq y$ then unifies least-squares approximation, interpolation and overparametrisation as different regimes of a fixed representation. Neural networks are introduced as the next step: the representation itself becomes parametrised and is learned from data. The purpose is pedagogical rather than encyclopaedic. It offers a numerical route into machine learning, using approximation, linear algebra and optimisation as familiar entry points.

fields
Numerical Analysis