Generalization, similarity, and Bayesian inference | Synapse