The binary perceptron model, a simple single-layer neural network, has a rich history in theoretical physics and machine learning.