Back to search

Université d'Ottawa / University of Ottawa

k-Nearest Neighbour Classification of Datasets with a Family of Distances

Abstract

dc:description.abstract

The k-nearest neighbour (k-NN) classifier is one of the oldest and most important supervised learning algorithms for classifying datasets. Traditionally the Euclidean norm is used as the distance for the k-NN classifier. In this thesis we investigate the use of alternative distances for the k-NN classifier. We start by introducing some background notions in statistical machine learning. We define the k-NN classifier and discuss Stone's theorem and the proof that k-NN is universally consistent on the normed space R^d. We then prove that k-NN is universally consistent if we take a sequence of random norms (that are independent of the sample and the query) from a family of norms that satisfies a particular boundedness condition. We extend this result by replacing norms with distances based on uniformly locally Lipschitz functions that satisfy certain conditions. We discuss the limitations of Stone's lemma and Stone's theorem, particularly with respect to quasinorms and adaptively choosing a distance for k-NN based on the labelled sample. We show the universal consistency of a two stage k-NN type classifier where we select the distance adaptively based on a split labelled sample and the query. We conclude by giving some examples of improvements of the accuracy of classifying various datasets using the above techniques.

Degree

thesis:*
Name thesis:degree_name
MSc
Level thesis:degree_level
masters
Discipline thesis:degree_discipline
Sciences / Science
Department dc:contributor.department
Mathématiques et statistique / Mathematics and Statistics
Grantor dc:publisher
Université d'Ottawa / University of Ottawa
Year dc:date.issued
2015

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Hatko, Stan
Advisor dc:contributor.supervisor
  • Pestov, Vladimir

Subjects

dc:subject × 4

Rights

Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Ottawa
Base URL
ruor.uottawa.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Hatko, Stan. k-Nearest Neighbour Classification of Datasets with a Family of Distances. masters thesis, Université d'Ottawa / University of Ottawa, 2015. https://doi.org/10.20381/ruor-3989