Nearest Neighbor Classification based on Imbalanced Data: A Statistical Approach

Anvit Garg, Anil K. Ghosh, Soham Sarkar
6/22/2022
stat.ME

Official code: anvit25/imb-nn (0 stars, Python, MIT, last commit 2023-11-07).

Abstract

When the competing classes in a classification problem are not of comparable size, many popular classifiers exhibit a bias towards larger classes, and the nearest neighbor classifier is no exception. To take care of this problem, we develop a statistical method for nearest neighbor classification based on such imbalanced data sets.

Show full abstract

First, we construct a classifier for the binary classification problem and then extend it for classification problems involving more than two classes. Unlike the existing oversampling or undersampling methods, our proposed classifiers do not need to generate any pseudo observations or remove any existing observations, hence the results are exactly reproducible. We establish the Bayes risk consistency of these classifiers under appropriate regularity conditions. Their superior performance over the existing methods is amply demonstrated by analyzing several benchmark data sets.

View on arXivView PDF

Code Implementations(1)

anvit25/imb-nnOfficial100%
MIT

A modified Nearest Neighbour classifier tailored for datasets with imbalanced classes

00PythonNov 3, 20233 years agoMIT

Similar Papers

Cite this paper

@article{garg2022nearest,
  title  = {Nearest Neighbor Classification based on Imbalanced Data: A Statistical Approach},
  author = {Anvit Garg and Anil K. Ghosh and Soham Sarkar},
  year   = {2022},
  eprint = {2206.10866},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.10866}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.10866.svg)](https://codeofpaper.com/paper/2206.10866)

Discussion