Joint learning and dictionary construction for pattern recognition | Synapse