DisTools Contents

DisTools User Guide

nne

NNE

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

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

Input
 D NxN symmetric dissimilarity dataset

Output
 E Leave-one-out error
 LAB Nearest neighbor labels

Description

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.