I am trying to develop a ken-algorithm to find the 5-6 closest datasets and use the mean or median of that peer group for the prediction. Economically it is very important to get to know the information about the selected peer group by the algorithm. Is it possible to get the information about the nearest neighbours the algorithm used for the prediction in a certain case?
Thanks for all your help!