An oversampling method for multi-class imbalanced data based on composite weights
- PMID: 34767567
- PMCID: PMC8589211
- DOI: 10.1371/journal.pone.0259227
An oversampling method for multi-class imbalanced data based on composite weights
Abstract
To solve the oversampling problem of multi-class small samples and to improve their classification accuracy, we develop an oversampling method based on classification ranking and weight setting. The designed oversampling algorithm sorts the data within each class of dataset according to the distance from original data to the hyperplane. Furthermore, iterative sampling is performed within the class and inter-class sampling is adopted at the boundaries of adjacent classes according to the sampling weight composed of data density and data sorting. Finally, information assignment is performed on all newly generated sampling data. The training and testing experiments of the algorithm are conducted by using the UCI imbalanced datasets, and the established composite metrics are used to evaluate the performance of the proposed algorithm and other algorithms in comprehensive evaluation method. The results show that the proposed algorithm makes the multi-class imbalanced data balanced in terms of quantity, and the newly generated data maintain the distribution characteristics and information properties of the original samples. Moreover, compared with other algorithms such as SMOTE and SVMOM, the proposed algorithm has reached a higher classification accuracy of about 90%. It is concluded that this algorithm has high practicability and general characteristics for imbalanced multi-class samples.
Conflict of interest statement
The authors have declared that no competing interests exist.
Figures
References
-
- Kaewwichian P. Multiclass Classification with Imbalanced Datasets for Car Ownership Demand Model–Cost-Sensitive Learning[J]. Promet-Traffic&Transportation, 2021, 33(3): 361–371. doi: 10.7307/ptt.v33i3.3728 - DOI
-
- Rajput D S, Basha S M, Xin Q, et al. Providing diagnosis on diabetes using cloud computing environment to the people living in rural areas of India. Journal of Ambient Intelligence and Humanized Computing, 2021: 1–12. doi: 10.1007/s12652-021-03154-4 - DOI
Publication types
MeSH terms
Associated data
LinkOut - more resources
Full Text Sources
