Neighborhood Component Analysis in Python