Displaying 1 result from an estimated 1 matches for "knn3".
Did you mean:
knn
2009 May 14
1
KNN script: Identity of specific K samples chosen?
I am currently doing some prediction work using the knn script in the
'class' package. Does anyone know a way of having R return the IDs (sample
IDs, or column IDs of the training matrix) of the 'k' samples that are
chosen by the algorithm as being nearest to a given test sample?
I have searched/read everything I can about the script, however have not
found anything other than the