DisTools Contents

DisTools User Guide



Leave-one-out Nearest Neighbor Error on a Dissimilarity Matrix

    [E,LAB] = NNE(D)
    {E,LAB] = D*NNE

 D NxN symmetric dissimilarity dataset

 E Leave-one-out error
 LAB Nearest neighbor labels


Estimates the leave-one-out error of the 1-nearest 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 also

datasets, nnerror1, nnerror2, testkd,

DisTools Contents

DisTools User Guide

This file has been automatically generated. If badly readable, use the help-command in Matlab.