Research Article

Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms

Volume: 10 Number: 4 December 31, 2021
TR EN

Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms

Abstract

Improvement of digital technology has caused the collected data sizes to increase at an accelerating rate. The increase in data size comes with new problems such as unbalanced data. If a dataset is unbalanced, the classes are not equally distributed. Therefore, classification of the data causes performance losses since the classification algorithms treat as the datasets are balanced. While the classification favors the majority class, the minority class is often misclassified. The majority of collected datasets, especially medical datasets, have an unbalanced distribution problem. To reduce the unbalance datasets, various studies have been performed in recent years. In general terms, these studies are undersampling, oversampling, or both to balance the datasets. In this study, an oversampling method is proposed employing distance and mean based resampling method to produce synthetic samples. For the resampling process, the distances between pairs are calculated by the Euclidean distance in the minority class. The calculated distances are considered in the sense of DBSCAN to obtain a sufficient amount of pairs. The new synthetic samples were formed between listed pairs by using the Weighted Arithmetic Mean. Thus, the dataset has been approximated 500 (majority) and 535 (from 268 minority data). The Random Forest (RF) and Support Vector Machine (SVM) algorithms are used for classification the raw and balanced datasets, and the results were compared with each other and the other well known methods such as Random Over Sampling (ROS), Random Under Sampling (RUS), and Synthetic Minority Oversampling Technique (SMOTE). The result showed that the proposed method has the best performance among all the listed methods. The accuracy performance of RF is 0.751 and 0.798 for raw data and resampled data respectively. Likewise, the accuracy performance of SVM is 0.762 and 0.781 for raw data and resampled data respectively.

Keywords

Thanks

The authors gratefully share their appreciation to İbrahim Halil Gümüş and Mustafa Yavaş. Technical discussion with them, and their encouragement is a key part to mature this research.

References

  1. M. Gopinath, S. Aarthy, and A. Manchanda, "Machine Learning on Medical Dataset," in Information Systems Design and Intelligent Applications: Springer, 2019, pp. 133-143.
  2. A. J. Mohammed, M. M. Hassan, and D. H. Kadir, "Improving Classification Performance for a Novel Imbalanced Medical Dataset using SMOTE Method," International Journal, vol. 9, no. 3, 2020.
  3. M. M. Rahman and D. N. Davis, "Addressing the class imbalance problem in medical datasets," International Journal of Machine Learning and Computing, vol. 3, no. 2, p. 224, 2013.
  4. H. Han, W.-Y. Wang, and B.-H. Mao, "Borderline-SMOTE: a new over-sampling method in imbalanced data sets learning," in International conference on intelligent computing, 2005: Springer, pp. 878-887.
  5. N. V. Chawla, K. W. Bowyer, L. O. Hall, and W. P. Kegelmeyer, "SMOTE: synthetic minority over-sampling technique," Journal of artificial intelligence research, vol. 16, pp. 321-357, 2002.
  6. N. V. Chawla, N. Japkowicz, and A. Kotcz, "Special issue on learning from imbalanced data sets," ACM SIGKDD explorations newsletter, vol. 6, no. 1, pp. 1-6, 2004.
  7. G. Kovács, "Smote-variants: A python implementation of 85 minority oversampling techniques," Neurocomputing, vol. 366, pp. 352-354, 2019.
  8. M. Ester, H.-P. Kriegel, J. Sander, and X. Xu, "A density-based algorithm for discovering clusters in large spatial databases with noise," presented at the Proceedings of the Second International Conference on Knowledge Discovery and Data Mining, Portland, Oregon, 1996.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Publication Date

December 31, 2021

Submission Date

August 20, 2021

Acceptance Date

October 12, 2021

Published in Issue

Year 2021 Volume: 10 Number: 4

APA
Güldal, S. (2021). Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, 10(4), 1563-1574. https://doi.org/10.17798/bitlisfen.985519
AMA
1.Güldal S. Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi. 2021;10(4):1563-1574. doi:10.17798/bitlisfen.985519
Chicago
Güldal, Serkan. 2021. “Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms”. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi 10 (4): 1563-74. https://doi.org/10.17798/bitlisfen.985519.
EndNote
Güldal S (December 1, 2021) Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi 10 4 1563–1574.
IEEE
[1]S. Güldal, “Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms”, Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, vol. 10, no. 4, pp. 1563–1574, Dec. 2021, doi: 10.17798/bitlisfen.985519.
ISNAD
Güldal, Serkan. “Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms”. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi 10/4 (December 1, 2021): 1563-1574. https://doi.org/10.17798/bitlisfen.985519.
JAMA
1.Güldal S. Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi. 2021;10:1563–1574.
MLA
Güldal, Serkan. “Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms”. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi, vol. 10, no. 4, Dec. 2021, pp. 1563-74, doi:10.17798/bitlisfen.985519.
Vancouver
1.Serkan Güldal. Balanced DATA by DBSCAN and Weighted Arithmetic Mean to Improve Performance of Machine Learning Algorithms. Bitlis Eren Üniversitesi Fen Bilimleri Dergisi. 2021 Dec. 1;10(4):1563-74. doi:10.17798/bitlisfen.985519

Bitlis Eren University

Journal of Science Editor

Bitlis Eren University Graduate Institute

Bes Minare Mah. Ahmet Eren Bulvari, Merkez Kampus, 13000 BITLIS

E-mail: fbe@beu.edu.tr