BRIDGING THE GAP BETWEEN DISTANCE AND GENERALIZATION. (29th November 2012)