English

PL-kNN: A Parameterless Nearest Neighbors Classifier

Machine Learning 2022-10-03 v2

Abstract

Demands for minimum parameter setup in machine learning models are desirable to avoid time-consuming optimization processes. The kk-Nearest Neighbors is one of the most effective and straightforward models employed in numerous problems. Despite its well-known performance, it requires the value of kk for specific data distribution, thus demanding expensive computational efforts. This paper proposes a kk-Nearest Neighbors classifier that bypasses the need to define the value of kk. The model computes the kk value adaptively considering the data distribution of the training set. We compared the proposed model against the standard kk-Nearest Neighbors classifier and two parameterless versions from the literature. Experiments over 11 public datasets confirm the robustness of the proposed approach, for the obtained results were similar or even better than its counterpart versions.

Keywords

Cite

@article{arxiv.2209.12647,
  title  = {PL-kNN: A Parameterless Nearest Neighbors Classifier},
  author = {Danilo Samuel Jodas and Leandro Aparecido Passos and Ahsan Adeel and João Paulo Papa},
  journal= {arXiv preprint arXiv:2209.12647},
  year   = {2022}
}
R2 v1 2026-06-28T02:06:11.363Z