A nonparametric Bayesian framework for constructing flexible feature representations. | Synapse