Machine Learning Approaches for Detecting and Classifying the Cancer type using Imbalanced Data Downsampling


  • Dr. Farshad Kiyoumarsi Department of Engineering, Faculty of Computer, Shahrekord Branch, Islamic Azad University, Shahrekord, Iran Author
  • Sara Wisam Department of Engineering, Faculty of Computer, Isfahan Branch, Islamic Azad University, Isfahan, Iran Author



unbalanced data, Machine learning, cancer diagnosis, downsampling, K-means algorithm


One of the most important applications of medical data mining is the early diagnosis of diseases with high accuracy. In the meantime, timely diagnosis of cancer as one of the main causes of death is of special importance. However, the classification and diagnosis of cancer is challenging due to the unbalanced nature of related data. In the data related to cancer disease, there is usually a minority class (patient samples) and a majority class (healthy people samples), which diagnoses the disease from the minority samples, and this is a challenge for the classifiers. This work investigated the problem of classifying the imbalanced data related to cancer disease using a machine learning approach based on the K-Nearest Neighbor (KNN) clustering technique. In this method, the insignificant samples of the majority class are removed, and the data are balanced. The proposed method is simulated and evaluated on 15 cancer datasets selected from the general SEER database. The simulation results approve a high classification of cancer type based on the average detecting accuracy criterion of more than 90%. Moreover, the current result is more efficient and improves classification accuracy compared to the methods proposed by other researchers in the literature survey.


. Aljabri, M. G., & Yousif, J. H. (2023). Blockchain Technology Effects on Healthcare Systems Using the IoT. In Intelligent Internet of Things for Smart Healthcare Systems (pp. 165-173). CRC Press.

. Alam, T. M., et al. (2021). A machine learning approach for identification of malignant mesothelioma etiological factors in an imbalanced dataset. The Computer Journal, 64(5), 790–801.

. Alkharabsheh, K., Alawadi, S., Kebande, V. R., Crespo, Y., Fernández-Delgado, M., & Taboada, J. A. (2022). A comparison of machine learning algorithms on design smell detection using balanced and imbalanced dataset: A study of God class. Information and Software Technology, 143, 106736.

. Almomany, A., Ayyad, W. R., & Jarrah, A. (2022). Optimized implementation of an improved KNN classification algorithm using Intel FPGA platform: Covid-19 case study. Journal of King Saud University-Computer and Information Sciences, 34(6), 3815-3827.

. Dubey, S. (2022). A Comparative study of Breast Cancer Diagnosis and Classification Using Neural Networks and Machine learning models (Doctoral dissertation, Dublin, National College of Ireland).







How to Cite

Machine Learning Approaches for Detecting and Classifying the Cancer type using Imbalanced Data Downsampling. (2023). Artificial Intelligence & Robotics Development Journal, 3(3), 248-268.