data gathering: train nearest centroid classifier on Graz2