Optimal weighted nearest neighbour classifiers
Open accessThe DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
Abstract
We derive an asymptotic expansion for the excess risk (regret) of a weighted nearest-neighbour classifier. This allows us to find the asymptotically optimal vector of nonnegative weights, which has a rather simple form. We show that the ratio of the regret of this classifier to that of an unweighted $k$-nearest neighbour classifier depends asymptotically only on the dimension $d$ of the feature vectors, and not on the underlying populations. The improvement is greatest when $d=4$, but thereafter decreases as $d\rightarrow\infty$. The popular bagged nearest neighbour classifier can also be regarded as a weighted nearest neighbour classifier, and we show that its corresponding weights are somewhat suboptimal when $d$ is small (in particular, worse than those of the unweighted $k$-nearest neighbour classifier when $d=1$), but are close to optimal when $d$ is large. Finally, we argue that improvements in the rate of convergence are possible under stronger smoothness assumptions, provided we allow negative weights. Our findings are supported by an empirical performance comparison on both simulated and real data sets.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Breiman, L. (2001) · Machine Learning · doi:10.1023/a:1010933404324 · Cited by 133,538 · cited 2×
“ly weighted nearest neighbour classifier to that of the optimal k-nearest neighbour classifier, as a function of the dimension dof the feature vectors. because they provide insight into random forests [Breiman (2001)]. Random forest algorithms have been some of the most successful ensemble methods for regression and cla…”
BackgroundCortes, C., & Vapnik, V. (1995) · Machine Learning · doi:10.1007/bf00994018 · Cited by 59,421
Nearest neighbor pattern classification
Cover, T., & Hart, P. (1967) · IEEE Transactions on Information Theory · doi:10.1109/tit.1967.1053964 · Cited by 16,936 · cited 3×
“The k-nearest neighbour classifier was originally studied in the seminal works of Fix and Hodges (1951) (later republished as Fix and Hodges (1989)) and Cover and Hart (1967), but it retains its popularity today1.”
BackgroundMethodA Probabilistic Theory of Pattern Recognition
Devroye, L., Györfi, L., & Lugosi, G. (1996) · Stochastic Modelling and Applied Probability · doi:10.1007/978-1-4612-0711-5 · Cited by 3,274
Discriminatory Analysis. Nonparametric Discrimination: Consistency Properties
Fix, E., & Hodges, J. L. (1989) · International Statistical Review / Revue Internationale de Statistique · doi:10.2307/1403797 · Cited by 2,516 · cited 1×
“The k-nearest neighbour classifier was originally studied in the seminal works of Fix and Hodges (1951) (later republished as Fix and Hodges (1989)) and Cover and Hart (1967), but it retains its popularity today1.”
MethodConsistent Nonparametric Regression
Stone, C. J. (1977) · The Annals of Statistics · doi:10.1214/aos/1176343886 · Cited by 1,792 · cited 4×
“on (Polonik, 1995; Rigollet and Vert, 2009; Samworth and Wand, 2010). Hall and Samworth (2005) and Biau and Devroye (2010) proved an analogous result for the bagged nearest neighbour classifier to the Stone (1977) result described in the previous paragraph. More precisely, if the resample size k= kn used for the baggin…”
BackgroundResultInfluentialHeuristics of instability and stabilization in model selection
Breiman, L. (1996) · The Annals of Statistics · doi:10.1214/aos/1032181158 · Cited by 1,146 · cited 1×
“Another popular way of improving the performance of a classifier is by bagging (Breiman, 1996, 1999).”
BackgroundOptimal aggregation of classifiers in statistical learning
Tsybakov, A. B. (2004) · The Annals of Statistics · doi:10.1214/aos/1079120131 · Cited by 582 · cited 1×
“The requirement in (A.4) that η̇(x) 6= 0 for x ∈ S is related to the well-known margin condition of, e.g. Mammen and Tsybakov (1999) and Tsybakov (2004); when it holds (and in the presence of the other conditions), there exist c, C > 0 such that cǫ ≤ P(|η(X)− 1/2| ≤ ǫ ∩X ∈ R) ≤ Cǫ (2.1) for…”
BackgroundInfluentialTheory of Classification: a Survey of Some Recent Advances
Boucheron, S., Bousquet, O., & Lugosi, G. (2005) · ESAIM: Probability and Statistics · doi:10.1051/ps:2005018 · Cited by 436
Smooth discrimination analysis
Mammen, E., & Tsybakov, A. B. (1999) · The Annals of Statistics · doi:10.1214/aos/1017939240 · Cited by 377 · cited 3×
“Mammen and Tsybakov (1999) and Audibert and Tsybakov (2007) impose similar compactness assumptions for their results.”
BackgroundInfluentialChoice of neighbor order in nearest-neighbor classification
Hall, P., Park, B. U., & Samworth, R. J. (2008) · The Annals of Statistics · doi:10.1214/07-aos537 · Cited by 329 · cited 2×
“Another consequence of Theorem 1 is that, provided (A.1)–(A.4) hold andB2 > 0, the quantity k∗ defined in (2.4) is larger by a factor of {2(d+4) d+2 }d/(d+4) (up to an unimportant rounding error) than the asymptotically optimal choice of kopt for Ĉnnn,k; see also Hall et al. (2008).”
BackgroundInfluentialSelf-citationFast learning rates for plug-in classifiers
Audibert, J.-Y., & Tsybakov, A. B. (2007) · The Annals of Statistics · doi:10.1214/009053606000001217 · Cited by 326 · cited 2×
“More recently, Audibert and Tsybakov (2007) have discussed the relative merits of plug-in classifiers (a family to which weighted nearest neighbour classifiers belong) and classifiers based on empirical risk minimisation, such as support vector machines (Cortes and Vapnik, 1995; Blanchard, Bousquet…”
BackgroundMeasuring Mass Concentrations and Estimating Density Contour Clusters-An Excess Mass Approach
Polonik, W. (1995) · The Annals of Statistics · doi:10.1214/aos/1176324626 · Cited by 248 · cited 2×
“Further related work includes the literature on highest density region or level set estimation (Polonik, 1995; Rigollet and Vert, 2009; Samworth and Wand, 2010).”
BackgroundStatistical performance of support vector machines
Blanchard, G., Bousquet, O., & Massart, P. (2008) · The Annals of Statistics · doi:10.1214/009053607000000839 · Cited by 167
Gérard Biau, A., & Devroye, L. (2010) · Journal of Multivariate Analysis · doi:10.1016/j.jmva.2010.06.019 · Cited by 156 · cited 1×
“Hall and Samworth (2005) and Biau and Devroye (2010) proved an analogous result for the bagged nearest neighbour classifier to the Stone (1977) result described in the previous paragraph.”
ResultOut-of-bag estimation of the optimal sample size in bagging
Martínez-Muñoz, G., & Suárez, A. (2009) · Pattern Recognition · doi:10.1016/j.patcog.2009.05.010 · Cited by 156
Optimal rates for plug-in estimators of density level sets
Rigollet, P., & Vert, R. (2009) · Bernoulli · doi:10.3150/09-bej184 · Cited by 141 · cited 1×
“ensities. Marron (1983) proved that in a certain sense this is the minimax optimal rate. Further related work includes the literature on highest density region or level set estimation (Polonik, 1995; Rigollet and Vert, 2009; Samworth and Wand, 2010). Hall and Samworth (2005) and Biau and Devroye (2010) proved an analo…”
ResultResults in statistical discriminant analysis: a review of the former Soviet Union literature
Raudys, Š., & Young, D. M. (2003) · Journal of Multivariate Analysis · doi:10.1016/s0047-259x(02)00021-0 · Cited by 74 · cited 2×
“ifference between these risks more closely. Weighted nearest neighbour classifiers are also related to classifiers based on kernel estimates of each of the class densities; see for example the review by Raudys and Young (2004), as well as Hall and Kang (2005). The O(n−4/(d+4)) rates of convergence obtained in this paper…”
MethodResultBandwidth choice for nonparametric classification
Hall, P. M., & Kang, K. (2005) · The Annals of Statistics · doi:10.1214/009053604000000959 · Cited by 69 · cited 2×
“Surprisingly, it is only recently that detailed understanding of the nature of the error probabilities has emerged (Hall et al., 2008). Arguably the most obvious defect with the k-nearest neighbour classifier is that it places equal weight on the class labels of each of the k nearest neighbours to the point x being cl…”
ResultInfluentialProperties of Bagged Nearest Neighbour Classifiers
Hall, P., & Samworth, R. J. (2005) · Journal of the Royal Statistical Society Series B (Statistical Methodology) · doi:10.1111/j.1467-9868.2005.00506.x · Cited by 67 · cited 9×
“In the most common version of bagging where the resamples are drawn with replacement, and the resample size is the same as the original sample size, bagging the nearest neighbour classifier gives no improvement over the 1-nearest neighbour classifier (Hall and Samworth, 2005).”
BackgroundResultInfluentialSelf-citationNonparametric Regression Estimation
Györfi, L., & Köhler, M. (2002) · Springer eBooks · doi:10.1007/978-3-7091-2568-7_2 · Cited by 28
Moore, J. D. (1992) · Bulletin of the American Mathematical Society · doi:10.1090/s0273-0979-1992-00312-9 · Cited by 1 · cited 2×
“…from the theory of integration on manifolds, as described in Guillemin and Pollack (1974, p. 168) and Gray (2004, Theorems 3.15 and 4.7) (see also Moore (1992)), that ∫ Sǫn [ P{Sn(x) 1/2} − 1{η(x) 1/2} ] dP ◦(x) = ∫ Sǫnǫn ∫ ǫn −ǫn ψ(xt0) [ P{Sn(x t 0) 1/2} − 1{t 0} ] dt dVold−1(x0){1 +…”
Influential(1999)
Cited by
Estimation and Inference of Heterogeneous Treatment Effects using Random Forests
Wager, S., & Athey, S. (2018) · Journal of the American Statistical Association · doi:10.1080/01621459.2017.1319839 · Cited by 2,917
FEMa: a finite element machine for fast learning
Pereira, D. R., Piteri, M. A., Souza, A. N., Papa, J. P., & Adeli, H. (2020) · Neural Computing and Applications · doi:10.1007/s00521-019-04146-4 · Cited by 378
Human Digital Twin for Fitness Management
Barricelli, B. R., Casiraghi, E., Gliozzo, J., Petrini, A., & Valtolina, S. (2020) · IEEE Access · doi:10.1109/access.2020.2971576 · Cited by 259
AuDI: Toward Autonomous IoT Device-Type Identification Using Periodic Communication
Marchal, S., Miettinen, M., Nguyen, T. D., Sadeghi, A.-R., & Asokan, N. (2019) · IEEE Journal on Selected Areas in Communications · doi:10.1109/jsac.2019.2904364 · Cited by 239
Analysis of network traffic features for anomaly detection
Iglesias, F., & Zseby, T. (2015) · Machine Learning · doi:10.1007/s10994-014-5473-9 · Cited by 207
“For the same data set, in Stein et al. (2005) a genetic algorithm (GA) wrapper with a DTC as a validation model looks for relevant features. They are shown for the DoS type of attack case. There are also some works concerning feature selection for the NSL-KDD data set. In Syarif et al. (2012), GA and Particle Swarm Op…”
Method
Metadata
- Authors
- Samworth, R. J.
- Venue
- The Annals of Statistics
- Publisher
- Institute of Mathematical Statistics
- Published
- 2012-10-01
- Volume
- 40
- Issue
- 5
- Pages
- 2733-2763
- ISSN
- 0090-5364 (ISSN-L)
- OpenAlex
- W1965524806
- Cited by
- 225
- References
- 23
- FWCI
- 9.82
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.