Performance Analysis of SVM and KNN in Breast Cancer Classification: A Survey

  • Ruchika PharswanEmail author
  • Jitendra Singh
Part of the Intelligent Systems Reference Library book series (ISRL, volume 180)


Breast cancer is one among the foremost widely recognized kind of cancer among feminine population in the entire world. It is still challenging task to detect and classify the cancer tumor precisely. Mammography is considered as a standout amongst the most conclusive and dependable method for proper identification and classification of the breast cancer. Here, in this paper we are proposing a system based on machine learning for classification of breast cancer (BC) along with the comparative study of two machine learning (ML) classifier. The idea is to select the region of interest (ROI) at very first from the mammograms. At that point important features has been extracted using GLCM (grey level co-occurrence matrix). Thereafter, extracted features are then utilized to train our classifiers SVM and KNN individually. The mammogram are then characterized either into benign or malignant using the trained classifier. Proposed system is implemented on standard MIAS databases. Classification performance of both classifiers are contrasted in terms of accuracy, recall, precision, specificity and F1 score. We found that SVM achieved higher accuracy of 94% than KNN with better recall and F1 score.


Breast cancer Mammograms Machine learning Support vector machine K-Nearest neighbor 


  1. 1.
    Mangale, S., Thombre, V.: A Survey on efficient image retrieval through user clicks and query semantic signature. Int. J. Innov. Res. Comput. Commun. Eng. (An ISO Certified Organization) 3297(5), 21167–21175 (2007)Google Scholar
  2. 2.
    Johra, F.T., Shuvo, M.M.H.: Detection of breast cancer from histopathology image and classifying benign and malignant state using fuzzy logic. In: 2016 3rd International Conference on Electrical Engineering and Information Communication Technology (ICEEICT) 2016, vol. 1, pp. 1–5 (2017)Google Scholar
  3. 3.
    Saraswathi, D., Srinivasan, E.: Performance analysis of mammogram CAD system using SVM and KNN classifier. Proc. Int. Conf. Inven. Syst. Control. ICISC 2017, 1–5 (2017)Google Scholar
  4. 4.
    Ghongade, R.D., Wakde, D.G.: Computer-aided diagnosis system for breast cancer using RF classifier, pp. 1068–1072 (2017)Google Scholar
  5. 5.
    Noor, M.M., Narwal, V.: Machine learning approaches in cancer detection and diagnosis : Mini review machine learning approaches in cancer detection and diagnosis : Mini review (2017)Google Scholar
  6. 6.
    Kourou, K., Exarchos, T.P., Exarchos, K.P., Karamouzis, M.V, Fotiadis, D.I.: Machine learning applications in cancer prognosis and prediction. 13, 8–17 (2015)Google Scholar
  7. 7.
    Selvi, S.T., Malmathanraj, R.: Segmentation and SVM classification of mammograms. In: proceedings of the IEEE International Conference on Industrial Technology, pp. 905–910 (2006)Google Scholar
  8. 8.
    Science, C., Systems, I., Abdalla, A.M.M., Deris, S., Zaki, N., Ghoneim, D.M.: Breast cancer detection based, pp. 728–730 (1841)Google Scholar
  9. 9.
    Rejani, Y.I.A., Selvi, S.T.: Early detection of breast cancer using SVM classifier technique. 1(3), 127–130 (2009)Google Scholar
  10. 10.
    Hussain, M., Wajid, S.K., Elzaart, A., Berbar, M.: A comparison of SVM kernel functions for breast cancer detection. In: Proceedings of 2011 8th International Conference Computer Graphics, Imaging and Visualization CGIV 2011, pp. 145–150 (2011)Google Scholar
  11. 11.
    Lg, A., At, E.: Using three machine learning techniques for predicting breast cancer recurrence. J. Heal. Med. Inform. 04(02), 2–4 (2013)Google Scholar
  12. 12.
    Kanchanamani, M., Perumal, V.: Performance evaluation and comparative analysis of various machine learning techniques for diagnosis of breast cancer. Biomed. Res. 27(3), 623–631 (2016)Google Scholar
  13. 13.
    Ancy, C.A., Nair, L.S.: An efficient CAD for detection of tumour in mammograms using SVM. In: Proceedings of 2017 IEEE International Conference on Communication and Signal Processing ICCSP 2017, vol. 2018, pp. 1431–1435 (2018)Google Scholar
  14. 14.
    Jothilakshmi, G.R., Raaza, A.: Effective detection of mass abnormalities and its classification using multi-SVM classifier with digital mammogram images. In: International Conference on Computer, Communication and Signal Processing Special Focus IoT, ICCCSP 2017, pp. 1–6 (2017)Google Scholar
  15. 15.
    Karthiga, R., Narasimhan, K.: Automated diagnosis of breast cancer using wavelet based entropy. In: Second International Conference on Electronics, Communication and Aerospace Technology (ICECA), pp. 274–279 (2018)Google Scholar
  16. 16.
    Classifier, K.N., Hojijatoleslami, S.A., Ecittler, J.: Detection of clusters of microcalcificatioin using a k-nearest neighbour classifier, pp. 1–6, 1996Google Scholar
  17. 17.
    AhmedMedjahed, S., Ait Saadi, T., Benyettou, A.: Breast cancer diagnosis by using k-nearest neighbor with different distances and classification rules. Int. J. Comput. Appl. 62(1), 1–5 (2013)Google Scholar
  18. 18.
    Visagie, S.: Classification system. January, 409–413 (2019)Google Scholar
  19. 19.
    Bala, B.K., Audithan, S.: Wavelet and curvelet analysis for the classification of microcalcifiaction using mammogram images. In: International Conference on Current Trends in Engineering and Technology ICCTET 2014, pp. 517–521 (2014)Google Scholar
  20. 20.
    Dong, M., Wang, Z., Dong, C., Mu, X., Ma, Y.: Classification of region of interest in mammograms using dual contourlet transform and improved KNN. J. Sensors, 2017 (2017)Google Scholar
  21. 21.
    Amrane, M.: Breast cancer classification using machine learning. In: 2018 Electric Electronics, Computer Science, Biomedical Engineering Meeting. pp. 1–4Google Scholar
  22. 22.
    Sonar, P., Bhosle, U., Choudhury, C.: Mammography classification using modified hybrid SVM-KNN. In: Proceedings of IEEE International Conference on Signal Processing and Communication ICSPC 2017, vol. 2018–Jan(July), 305–311 (2018)Google Scholar
  23. 23.
    Kumar, V., Gupta, P.: Importance of statistical measures in digital image processing. Int. J. Emerg. Technol. Adv. Eng. 2(8), 56–62 (2012)Google Scholar

Copyright information

© Springer Nature Switzerland AG 2020

Authors and Affiliations

  1. 1.SRM IST, Delhi NCR CampusModinagar, GhaziabadIndia

Personalised recommendations