Comparison of K-nearest Neighbor and Artificial Neural Network Classifiers for the Detection of Breast Cancer

Year : 2024 | Volume :11 | Issue : 01 | Page : 78-83
By

Jhumi Thapa

Anshu Ghimire

  1. Assistant Professor Department of Computer Science and Engineering, Nepal Engineering College Bhaktapur Nepal
  2. Assistant Professor Department of Computer Science and Engineering, Nepal Engineering College Bhaktapur Nepal

Abstract

Breast cancer is the most common type of cancer seen in women in the present day, which is also considered a life-threatening disease. If this cancer can be detected in its early stage it can be a lifesaver for many people around the world. Machine Learning techniques have become one of the hotspots for predicting the early diagnosis of breast cancer. This research work experiments with the two most popularly used supervised machine learning algorithms, K-nearest neighbor, and artificial neural network which will detect breast cancer by training its attributes and find out the most effective with respect to confusion matrix, accuracy, and precision. The findings indicate that the artificial neural network machine achieved superior performance, outperforming all other classifiers with an accuracy rate of 98%. All the work is done in Python programming language using Scikit-Learn library and tensor flow.

Keywords: K-nearest neighbors (KNN), artificial neural network (ANN), breast cancer, machine learning, prediction, Fine Needle Aspirate (FNA)

[This article belongs to Journal of Artificial Intelligence Research & Advances(joaira)]

How to cite this article: Jhumi Thapa, Anshu Ghimire. Comparison of K-nearest Neighbor and Artificial Neural Network Classifiers for the Detection of Breast Cancer. Journal of Artificial Intelligence Research & Advances. 2024; 11(01):78-83.
How to cite this URL: Jhumi Thapa, Anshu Ghimire. Comparison of K-nearest Neighbor and Artificial Neural Network Classifiers for the Detection of Breast Cancer. Journal of Artificial Intelligence Research & Advances. 2024; 11(01):78-83. Available from: https://journals.stmjournals.com/joaira/article=2024/view=144198

References

  1. Verma A, Kumar A, Kumar MS. Breast cancer prediction using support vector machine. Int Res J Eng Technol (IRJET). 2019.
  2. Alanazi SA, Kamruzzaman MM, Islam Sarker MN, Alruwaili M, Alhwaiti Y, Alshammari N, Siddiqi MH. Boosting breast cancer detection using convolutional neural network. J Healthc Eng. 2021;2021:5528622. DOI: 10.1155/2021/5528622. PubMed: 33884157.
  3. World Health Organization (WHO). Breast cancer. Who.int. 2024. Available from: https://www.who.int/news-room/fact-sheets/detail/breast-cancer.
  4. Different kinds of breast lumps. Stony Brook Cancer Center. Stonybrookmedicine.edu. 2023. Available from: https://cancer.stonybrookmedicine.edu/breast-cancer-team/patients/bse/breastlumps
  5. UCI machine learning. Breast cancer Wisconsin (diagnostic) data set. Kaggle.com. 2016. Available from: https://www.kaggle.com/datasets/uciml/breast-cancer-wisconsin-data.
  6. Singhal V, Chaudhary Y, Verma SK, Agarwal U, Sharma MP. Breast cancer prediction using KNN, SVM, logistic regression and decision tree. Int J Res Appl Sci Eng Technol. 2022;10:1877-81. DOI: 10.22214/ijraset.2022.42688.
  7. Tahmooresi M, Afshar A, Rad BB, Nowshath KB, Bamiah MA. Early detection of breast cancer using machine learning techniques. J Telecommun Electron Comput Eng (JTEC). 2018 Sep 26;10(3-2):21-7.
  8. Islam MM, Iqbal H, Haque MR, Hasan MK. Prediction of breast cancer using support vector machine and K-nearest neighbors. In: 2017 IEEE Region 10 Humanitarian Technology Conference (R10-HTC). 2017. p. 226-9. DOI: 10.1109/R10-HTC.2017.8288944.
  9. Bakthavachalam MD, Raj DS. A study of breast cancer analysis using K-nearest neighbor with different distance measures and classification rules using machine learning. Eur J Mol Clin Med. 2020;7:4842-51.
  10. Khorshid SF, Mohammed A. Breast cancer diagnosis based on K-nearest neighbors: A review. PalArch’s J Archaeol Egypt/Egyptol. 2021;18:1927-51.
  11. Chawla S, Kumar R. Breast cancer detection using K-nearest neighbour algorithm. In: Proceedings of the International Conference on Computational Intelligence and Internet of Things. New Delhi: G.B. Engineering College; 2018. p. 799-805.
  12. Wadkar KP. Breast cancer detection using Ann network and performance analysis. Int J Comput Eng Technol (IJCET). 2019;10:75-86.
  13. Eyupoglu C. Breast cancer classification using k-nearest neighbors algorithm. Online J Sci Technol. 2018;8:29-34.

Regular Issue Subscription Review Article
Volume 11
Issue 01
Received January 14, 2024
Accepted April 9, 2024
Published April 24, 2024