for the nearest neighbors evaluation we need also all predictions on the training data. These are now saved in a csv file. Also added some pseudo code.