NNE Leaveoneout Nearest Neighbor Error on a Dissimilarity Matrix
[E,LAB] = NNE(D)
DescriptionEstimates the leaveoneout error of the 1nearest neighbor rule on the square dissimilairy data D. D should be a dataset containing a labeled square dissimilarity matrix of a set of objects related to itself. Diagonal of D is assumed to be zero. It is not needed that D is symmetric. So NNE(D) ~= NNE(D') is possible. See alsodatasets, nnerror1, nnerror2, testkd,
