On the mathematical foundations of learning | Synapse