Statistical mechanics of learning from examples | Synapse