A model for stimulus generalization and discrimination. | Synapse