KNN-LC: Classification in Unbalanced Datasets using a KNN-Based Algorithm and Local Centralities - Archive ouverte HAL Access content directly
Book Sections Year : 2020

KNN-LC: Classification in Unbalanced Datasets using a KNN-Based Algorithm and Local Centralities

(1) , (1)
1

Abstract

Classification is one of the most central topics in machine learning. Yet, most of the algorithms that solve the classification problem operate under the assumption that the training datasets are balanced. While this assumption is reasonable for many classification problems, it is often not valid. For example, application domains such as fraud and spam detection are characterized by highly unbalanced classes where the examples of malicious items are far less numerous then the benign ones. This paper proposes a KNN-based algorithm adapted to unbalanced classes. The algorithm precomputes distances in the training set as well as a centrality score for every training item. It then weights the distances between the items to be classified and their K-nearest training neighbors, accounting for the distribution of distances in every class and the centrality (and outlierness) of neighbors. This reduces the noise from outliers of the majority class and enhances the weights of central data points allowing the proposed algorithm to achieve high accuracy in addition to high TPR in the minority class.
Not file

Dates and versions

hal-02330150 , version 1 (23-10-2019)

Identifiers

Cite

Omar Jaafor, B. Birregah. KNN-LC: Classification in Unbalanced Datasets using a KNN-Based Algorithm and Local Centralities. Data-Driven Modeling for Sustainable Engineering, Springer, Cham, pp.85-97, 2020, 978-3-030-13697-0. ⟨10.1007/978-3-030-13697-0_7⟩. ⟨hal-02330150⟩
90 View
0 Download

Altmetric

Share

Gmail Facebook Twitter LinkedIn More