id summary reporter owner description type status priority milestone component version resolution keywords cc 2942 "KNN-Regression/Classification should allow ""self"" points" bwerth gkronber In the prediction of the kNN-Model it is currently disallowed to utilize data points with zero distance to the query point, which is not only counter intuitive but might lead to worse prediction results (especially in cases where the features are de facto ordinal/integers and zero distances are common). The inclusion of zero-distance points should at least be optional. This however requires an alteration in the way weights are assigned to neighboring points (currently 1/distance which would cause division-by-zero exceptions). enhancement closed medium HeuristicLab 3.3.16 Algorithms.DataAnalysis trunk done kNN, DataAnalysis gkronber@heuristiclab.com maffenze@heuristiclab.com