pith. sign in

arxiv: 2004.04523 · v2 · pith:BM6R5QSJnew · submitted 2020-04-09 · 💻 cs.LG · stat.ML

k-Nearest Neighbour Classifiers: 2nd Edition (with Python examples)

classification 💻 cs.LG stat.ML
keywords nearestclassificationneighbourneighboursclassifiercomputationaleditionidentifying
0
0 comments X
read the original abstract

Perhaps the most straightforward classifier in the arsenal or machine learning techniques is the Nearest Neighbour Classifier -- classification is achieved by identifying the nearest neighbours to a query example and using those neighbours to determine the class of the query. This approach to classification is of particular importance because issues of poor run-time performance is not such a problem these days with the computational power that is available. This paper presents an overview of techniques for Nearest Neighbour classification focusing on; mechanisms for assessing similarity (distance), computational issues in identifying nearest neighbours and mechanisms for reducing the dimension of the data. This paper is the second edition of a paper previously published as a technical report. Sections on similarity measures for time-series, retrieval speed-up and intrinsic dimensionality have been added. An Appendix is included providing access to Python code for the key methods.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. kNNGuard: Turning LLM Hidden Activations into a Training-Free Configurable Guardrail

    cs.LG 2026-07 unverdicted novelty 6.0

    kNNGuard classifies prompts using multi-layer kNN on LLM hidden activations from 50 examples, matching or exceeding fine-tuned guardrails in F1 while running 2.7x to 10x faster with no training required.