A Kernel Classification Framework for Metric Learning | Synapse