Adaptive K-means clustering based under-sampling methods to solve the class imbalance problem

{"title":"Adaptive K-means clustering based under-sampling methods to solve the class imbalance problem","authors":"","doi":"10.1016/j.dim.2023.100064","DOIUrl":null,"url":null,"abstract":"<div><p>In the field of machine learning, the issue of class imbalance is a common problem. It refers to an imbalance in the quantity of data collected, where one class has a significantly larger number of data compared to another class, which can negatively affect the classification efficiency of algorithms. Under-sampling methods address class imbalance by reducing the quantity of data in the majority class, thereby achieving a balanced dataset and mitigating the class imbalance problem. Traditional under-sampling methods based on k-means clustering either set the unified value of <em>k</em> (number of clusters) or determine it directly based on the quantity of data in the minority or majority class. This paper proposes an adaptive k-means clustering under-sampling algorithm that calculates an appropriate <em>k</em> for each dataset. After clustering the majority class dataset into <em>k</em> clusters, our algorithm calculates the distances between the data within each cluster and the cluster centroids from two perspectives and selects data based on these distances. Subsequently, the subset of the majority class dataset are combined with the minority class dataset to generate a new balanced dataset, which is then used for classification algorithms. The performance of our algorithm is evaluated on 45 datasets. Experimental results demonstrate that our algorithm can dynamically determine appropriate <em>k</em> for different datasets and output a balanced dataset, thus enhancing the classification efficiency of machine learning algorithms. This work can provide new algorithmic ensemble strategies for addressing class imbalance problem.</p></div>","PeriodicalId":72769,"journal":{"name":"Data and information management","volume":"8 3","pages":"Article 100064"},"PeriodicalIF":0.0000,"publicationDate":"2024-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2543925123000384/pdfft?md5=25a3920a1a4e803650366fa56c8a9827&pid=1-s2.0-S2543925123000384-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Data and information management","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2543925123000384","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In the field of machine learning, the issue of class imbalance is a common problem. It refers to an imbalance in the quantity of data collected, where one class has a significantly larger number of data compared to another class, which can negatively affect the classification efficiency of algorithms. Under-sampling methods address class imbalance by reducing the quantity of data in the majority class, thereby achieving a balanced dataset and mitigating the class imbalance problem. Traditional under-sampling methods based on k-means clustering either set the unified value of k (number of clusters) or determine it directly based on the quantity of data in the minority or majority class. This paper proposes an adaptive k-means clustering under-sampling algorithm that calculates an appropriate k for each dataset. After clustering the majority class dataset into k clusters, our algorithm calculates the distances between the data within each cluster and the cluster centroids from two perspectives and selects data based on these distances. Subsequently, the subset of the majority class dataset are combined with the minority class dataset to generate a new balanced dataset, which is then used for classification algorithms. The performance of our algorithm is evaluated on 45 datasets. Experimental results demonstrate that our algorithm can dynamically determine appropriate k for different datasets and output a balanced dataset, thus enhancing the classification efficiency of machine learning algorithms. This work can provide new algorithmic ensemble strategies for addressing class imbalance problem.

解决类不平衡问题的基于欠采样的自适应 K 均值聚类方法
在机器学习领域,类不平衡是一个常见问题。它指的是收集到的数据数量不平衡,即一个类别的数据数量明显多于另一个类别,这会对算法的分类效率产生负面影响。欠采样方法通过减少多数类的数据量来解决类不平衡问题,从而获得平衡的数据集,缓解类不平衡问题。传统的基于 k-means 聚类的欠采样方法要么设置统一的 k 值(聚类数),要么直接根据少数类或多数类的数据量来确定。本文提出了一种自适应 k 均值聚类低采样算法,它能为每个数据集计算出合适的 k 值。将多数类数据集聚类成 k 个聚类后,我们的算法从两个角度计算每个聚类内的数据与聚类中心点之间的距离,并根据这些距离选择数据。随后,将多数类数据集的子集与少数类数据集合并,生成一个新的平衡数据集,然后用于分类算法。我们在 45 个数据集上评估了算法的性能。实验结果表明,我们的算法可以为不同的数据集动态确定合适的 k,并输出平衡数据集,从而提高机器学习算法的分类效率。这项工作可以为解决类不平衡问题提供新的算法集合策略。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Data and information management
Data and information management Management Information Systems, Library and Information Sciences
CiteScore
3.70
自引率
0.00%
发文量
0
审稿时长
55 days
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信