Ensembling of K-Nearest Neighbor Classifiers: Countering the Challenges of Imbalanced Datasets

Real-world data often exhibit a high degree of class imbalance, which makes it difficult for machine learning models to achieve high success rates. This work presents an ensemble of selectively chosen K-nearest neighbor (KNN) classifiers with different distance metrics for improving classification accuracy, especially on imbalanced datasets in both binary and multi-class problems. KNN classifiers are non-parametric supervised learning models known for their simplicity and wide range of applications. A metric called the index-of-imbalance is defined to quantify the degree of imbalance in a dataset; it may help predict how much such an ensemble improves classification performance on imbalanced data. In addition, a boundary balance index (BBI), derived from the margin proximity of samples under a linear support vector machine decomposition, is introduced to characterize class overlap near the decision boundary independently of class imbalance. The BBI helps explain cases where ensemble improvement remains limited despite comparable levels of class imbalance, complementing the index-of-imbalance as a second, independent measure of dataset difficulty. An algorithm is developed to identify the best combination of KNN classifiers, and two ensembles, KNN-MV and KNN-WV, based on majority voting (MV) and weighted voting (WV), respectively, are introduced. On 19 publicly available benchmark datasets, both ensembles significantly outperform the best single-metric KNN classifier. Compared with computationally intensive deep learning models, the ensembles offer a low-cost solution to pattern classification problems without significantly compromising success rates.

Authors

Institutions

Publication Details

Journal
AI Computer Science and Robotics Technology
Published
2026-11-26
DOI
https://doi.org/10.5772/acrt.20250078
Primary Topic
Imbalanced Data Classification Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Ensembling of K-Nearest Neighbor Classifiers: Countering the Challenges of Imbalanced Datasets

Aritra Bandyopadhyay, Mahantapas Kundu, Aman Raj Mohta
AI Computer Science and Robotics Technology
Imbalanced Data Classification Techniques
article

Ensembling of K-Nearest Neighbor Classifiers: Countering the Challenges of Imbalanced Datasets

Aritra Bandyopadhyay, Mahantapas Kundu, Aman Raj Mohta
article en

Abstract

Real-world data often exhibit a high degree of class imbalance, which makes it difficult for machine learning models to achieve high success rates. This work presents an ensemble of selectively chosen K-nearest neighbor (KNN) classifiers with different distance metrics for improving classification accuracy, especially on imbalanced datasets in both binary and multi-class problems. KNN classifiers are non-parametric supervised learning models known for their simplicity and wide range of applications. A metric called the index-of-imbalance is defined to quantify the degree of imbalance in a dataset; it may help predict how much such an ensemble improves classification performance on imbalanced data. In addition, a boundary balance index (BBI), derived from the margin proximity of samples under a linear support vector machine decomposition, is introduced to characterize class overlap near the decision boundary independently of class imbalance. The BBI helps explain cases where ensemble improvement remains limited despite comparable levels of class imbalance, complementing the index-of-imbalance as a second, independent measure of dataset difficulty. An algorithm is developed to identify the best combination of KNN classifiers, and two ensembles, KNN-MV and KNN-WV, based on majority voting (MV) and weighted voting (WV), respectively, are introduced. On 19 publicly available benchmark datasets, both ensembles significantly outperform the best single-metric KNN classifier. Compared with computationally intensive deep learning models, the ensembles offer a low-cost solution to pattern classification problems without significantly compromising success rates.

AI Computer Science and Robotics TechnologyVol. 5
Jadavpur University (IN), Maulana Abul Kalam Azad Institute of Asian Studies (IN)
Imbalanced Data Classification Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Ensembling of K-Nearest Neighbor Classifiers: Countering the Challenges of Imbalanced Datasets — Aritra Bandyopadhyay, Mahantapas Kundu, et al. · AI Computer Science and Robotics Technology (2026) | TGRS Research Map | TGRS