206

Trust-and-Verify Error Bounds for K-Nearest Neighbor Classifiers

Abstract

We show that kk-nearest neighbor classifiers, in spite of their famously fractured decision boundaries, have exponential error bounds with nearly O(n12n^{-\frac{1}{2}}) Gaussian-style bound ranges, similar to error bounds based on VC dimension for other types of classifiers that have simpler decision boundaries. Specifically, we present an exponential PAC error bound for kk-nearest neighbor classifiers that has O(n12(k+lnn)(lnlnn+1δ)n^{-\frac{1}{2}}\sqrt{(k + \ln n)(\ln \ln n + \frac{1}{\delta})}) error bound range, for nn in-sample examples and bound failure probability δ\delta.

View on arXiv
Comments on this paper