On-line versus off-line learning in the linear perceptron: A comparative study | Synapse