KNNDD K-Nearest neighbour data description method.
W = KNNDD(A,FRACREJ,K,METHOD)
Calculates the K-Nearest neighbour data description on dataset A.
Three methods are defined to compute a distance to the dataset using
the k-nearest neighbours:
METHOD uses the
'kappa' distance to the k-th nearest neighbor
'delta' distance to the average of the k-nn's
'gamma' average distance to the k-nn's
When no K is defined, it will be optimized using knn_optk, when it
is smaller than 0, sqrt(n) will be used.
See also: nndd dnndd
Copyright: D.M.J. Tax, D.M.J.Tax@prtools.org
Faculty EWI, Delft University of Technology
P.O. Box 5031, 2600 GA Delft, The Netherlands