Abstract
Class imbalance problem in datasets can lead to biased classification decisions in favor of majority class samples. Additionally, class overlap can cause fuzzy classification boundaries, affecting the performance of classification algorithms. To address these issues, we propose a hybrid sampling method based on conditional tabular generative adversarial network (CTGAN) and K-nearest neighbor (KNN) algorithm. Firstly, we introduce an oversampling algorithm, named DB-CTGAN, based on CTGAN. This algorithm filters noisy and boundary samples using the density-based spatial clustering of applications with noise (DBSCAN) clustering algorithm and generates synthetic samples that conform to the real data distribution using CTGAN. Finally, we combine the expanded fraudulent samples generated by DB-CTGAN with the normal samples and use the KNN overlap undersampling algorithm to remove the samples in the overlap region, solving the class overlap problem. Experimental results show that compared with eight sampling methods using four standard classification models (Random Forest, Decision Tree, Support Vector Classification, and XGBoost), the proposed method significantly improves the F1, AUC, and G-mean metrics on five real datasets.
Keywords
- Imbalanced data
- class overlap
- conditional tabular generative adversarial network
- K-nearest neighbor algorithm
- hybrid sampling
Cite this article
@article{cai-6545,
author = {Xiaoyan Zhao and Shaopeng Guan and Yuewei Xue and Hao Pan},
title = {HS-CGK: A Hybrid Sampling Method for Imbalance Data Based on Conditional Tabular Generative Adversarial Network and K-Nearest Neighbor Algorithm},
journal = {Computing and Informatics},
volume = {43},
number = {1},
pages = {213--239},
year = {2024},
issn = {1335-9150},
doi = {10.31577/cai_2024_1_213}
}
TY - JOUR AU - Xiaoyan Zhao AU - Shaopeng Guan AU - Yuewei Xue AU - Hao Pan TI - HS-CGK: A Hybrid Sampling Method for Imbalance Data Based on Conditional Tabular Generative Adversarial Network and K-Nearest Neighbor Algorithm JO - Computing and Informatics VL - 43 IS - 1 SP - 213 EP - 239 PY - 2024 SN - 1335-9150 DO - 10.31577/cai_2024_1_213 UR - https://doi.org/10.31577/cai_2024_1_213 KW - Imbalanced data KW - class overlap KW - conditional tabular generative adversarial network KW - K-nearest neighbor algorithm KW - hybrid sampling ER -
Zhao, X., Guan, S., Xue, Y., & Pan, H. (2024). HS-CGK: A Hybrid Sampling Method for Imbalance Data Based on Conditional Tabular Generative Adversarial Network and K-Nearest Neighbor Algorithm. Computing and Informatics, 43(1), 213–239. https://doi.org/10.31577/cai_2024_1_213