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.”
BackgroundInfluential
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…”
MethodKruppa, J., Liu, Y., Biau, G., Kohler, M., König, I. R., Malley, J. D., & Ziegler, A. (2014) · Biometrical Journal · doi:10.1002/bimj.201300068 · Cited by 97
“Differences between b-NN and k-NN can therefore only be expected for large k or downsampling; also see Samworth (2012).”
Background
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.