Abstract
The effective care of skin cancer relies on the fine detection of skin lesions. Deep learning techniques are increasingly being used in medical diagnosis, ranging from the classification of skin lesions. Their ability to learn deep discriminative features from dermoscopic images is what makes them popular. In spite of the fact that deep learning approaches learn rich semantically rich information, the approaches currently being taken tend to suffer from poor generalization, high levels of redundancy, and KNN classifiers that assign identical weights to all neighbors. The paper proposes a new approach using machine learning for the classification of skin lesions, entailing deep feature extraction, techniques for dimensionality reduction, and approaches for optimization. Specifically, the ResNet50 architecture using Global Average Pooling for deep feature extraction from dermoscopic images will be employed. The most relevant and non-redundant features are identified through the Minimum Redundancy Maximum Relevance (mRMR) method. mRMR removes irrelevant class information and reduces the feature size considerably. A new approach for the KNN classifier substitutes the fully connected layer of ResNet50. The weights for instance and feature levels are computed with the Genetic Algorithm (GA) and the use of cosine similarity. The proposed approach attains a high accuracy of 90.61% on the classification task for the binary images of skin lesions. The experimental results show that the proposed optimized cosine weighted KNN approach is effective for the diagnosis of skin cancer.
Keywords
Skin Lesion Classification, ResNet50, mRMR, Cosine Similarity, Genetic Algorithm, Weighted K-Nearest Neighbors,Downloads
References
- N. Hasan, H. Abdel-Galil, H. Saleh, Skin Cancer: Understanding the Journey of Transformation from Conventional to Advanced Treatment Approaches. Molecular Cancer, 22(1), (2023) 168. https://doi.org/10.1186/s12943-023-01854-3
- A. Deshpande, V.V. Estrela, N. Razmjooy. (2021) Computational Intelligence Methods for Super-Resolution in Image Processing Applications. Springer International Publishing, Cham. https://doi.org/10.1007/978-3-030-67921-7
- G.M. Abd-Allah, A. Ismail, H.A. El-Mahdy, E.G. Elsakka, A.A. El-Husseiny, N.M. Abdelmaksoud, A. Salman, S.Y. Elkhawaga, A.S. Doghish, MIRNAs as Potential Game-Changers in Melanoma: A Comprehensive Review. Pathology-Research and Practice, 244, (2023) 154424. https://doi.org/10.1016/j.prp.2023.154424
- K. Urban, S. Mehrmal, P. Uppal, R.L. Giesey, G.R. Delost, The Global Burden of Skin Cancer: A Longitudinal Analysis from the Global Burden of Disease Study, 1990–2017. JAAD International, 2, (2021) 98–108. https://doi.org/10.1016/j.jdin.2020.10.013
- K. Shi, Y. Jiang, Y. Zhang, X. Liu, Clinical Characteristics of Malignant Melanoma in Central China and Predictors of Metastasis. Oncology Letters, 19, (2019) 1452-1464. https://doi.org/10.3892/ol.2019.11219
- R.K. Singh, R. Gorantla, S.G.R. Allada, P. Narra, SkiNet: A Deep Learning Framework for Skin Lesion Diagnosis with Uncertainty Estimation and Explainability. PLoS ONE, 17(10), (2022) e0276836. https://doi.org/10.1371/journal.pone.0276836
- K. Ali, Z.A. Shaikh, A.A. Khan, A.A. Laghari, Multiclass Skin Cancer Classification using EfficientNets – a First Step Towards Preventing Skin Cancer. Neuroscience Informatics, 2(4), (2022) 100034. https://doi.org/10.1016/j.neuri.2021.100034
- P. Bansal, R. Garg, P. Soni, Detection of Melanoma in Dermoscopic Images by Integrating Features Extracted using Handcrafted and Deep Learning Models. Computers & Industrial Engineering, 168, (2022) 108060. https://doi.org/10.1016/j.cie.2022.108060
- K.P. Zaw, A. Mon, Enhanced Multi-Class Skin Lesion Classification of Dermoscopic Images using an Ensemble of Deep Learning Models. Journal of Computer Theoretical and Applied, 2(2), (2024) 256-267. https://doi.org/10.62411/jcta.11530
- J.A. Almaraz-Damian, V. Ponomaryov, S. Sadovnychiy, H. Castillejos-Fernández, Melanoma and Nevus Skin Lesion Classification using Handcraft and Deep Learning Feature Fusion Via Mutual Information Measures. Entropy, 22(4), (2020) 484. https://doi.org/10.3390/e22040484
- R.K. Halder, M.N. Uddin, M.A. Uddin, S. Aryal, A. Khraisat, Enhancing K-nearest Neighbor Algorithm: a Comprehensive Review and Performance Analysis of Modifications. Journal of Big Data, 11(1), (2024) 113. https://doi.org/10.1186/s40537-024-00973-y
- Y. Song, F. Pei, (2023) An Improved Local Mean-Based Distance Weighted K-Nearest Neighbor with Distance Metrics. Proceedings of ICISCAE 2023, IEEE, Dalian, China. https://doi.org/10.1109/ICISCAE59047.2023.10393093
- M.A. Rasel, U.H. Obaidellah, S.A. Kareem, Convolutional Neural Network-Based Skin Lesion Classification with Variable Nonlinear Activation Functions. IEEE Access, IEEE, 10, (2022) 83398–83414. https://doi.org/10.1109/ACCESS.2022.3196911
- M.A. Albahar, Skin Lesion Classification using Convolutional Neural Network with Novel Regularizer. IEEE Access, IEEE, 7, (2019) 38306–38313. https://doi.org/10.1109/ACCESS.2019.2906241
- K. Dimililer, B. Sekeroglu, Skin Lesion Classification using CNN-Based Transfer Learning Model. Gazi University Journal of Science, 36(2), (2023) 660–673. https://doi.org/10.35378/gujs.1063289
- K.M. Selvaraj, S. Gnanagurusubbiah, R.R.R. Roy, S. Balu, Enhancing Skin Lesion Classification with Advanced Deep Learning Ensemble Models: a Path Towards Accurate Medical Diagnostics. Current Problems in Cancer, 49, (2024) 101077. https://doi.org/10.1016/j.currproblcancer.2024.101077
- S. Mishra, H. Das, S.K. Mohapatra, S.B. Khan, M. Alojail, M. Saraee, A Hybrid Fused-KNN Based Intelligent Model to Access Melanoma Disease Risk using Indoor Positioning System. Scientific Reports, 15 (2025) 7438. https://doi.org/10.1038/s41598-024-74847-x
- S.R. Hussain, O.S. Powar, (2024) Enhancing Skin Lesion Classification: A Machine Learning Approach using KNN, XGBoost, and Random Forest. 2024 Control Instrumentation System Conference (CISCON), IEEE, Manipal, India. https://doi.org/10.1109/CISCON62171.2024.10696065
- D. Meena, U.S.U. Sharma, M. Mohanan, G.M. Patel, Advanced Skin Disease Detection: Image Processing and Modified Genetic Optimization with Supervised K-Nearest Neighbors. Multidisciplinary Science Journal, 6, (2024) 2024ss0604. https://doi.org/10.31893/multiscience.2024ss0604
- A.N. Toprak, I. Aruk, A Hybrid Convolutional Neural Network Model for the Classification of Multi‐Class Skin Cancer. International Journal of Imaging Systems and Technology, 34(5), (2024) e23180. https://doi.org/10.1002/ima.23180
- M.Q. Hatem, Skin Lesion Classification System using a K-Nearest Neighbor Algorithm. Visual Computing for Industry. Biomedicine and Art, 5, (2022) 7. https://doi.org/10.1186/s42492-022-00103-6
- C. Fanconi. (2019) Skin Cancer: Malignant vs. Benign. Processed skin Cancer Pictures of the ISIC. https://www.kaggle.com/datasets/fanconic/skin-cancer-malignant-vs-benign
- T. Tuncer, P. D. Barua, I. Tuncer, S. Dogan, U.R. Acharya, A Lightweight Deep Convolutional Neural Network Model for Skin Cancer Image Classification. Applied Soft Computing, 162, (2024) 111794. https://doi.org/10.1016/j.asoc.2024.111794
- M. Abdar, M.A. Fahami, S. Chakrabarti, A. Khosravi, P. Pławiak, U.R. Acharya, R. Tadeusiewicz, S. Nahavandi, BARF: A New Direct and Cross-Based Binary Residual Feature Fusion with Uncertainty-Aware Module for Medical Image Classification. Information Sciences, 577, (2021) 353–378. https://doi.org/10.1016/j.ins.2021.07.024
- M. Abdar, M. Samami, S.D. Mahmoodabad, T. Doan, B. Mazoure, R. Hashemifesharaki, L. Liu, A. Khosravi, U.R. Acharya, V. Makarenkov, S. Nahavandi, Uncertainty Quantification in Skin Cancer Classification using Three-Way Decision-Based Bayesian Deep Learning. Computers in Biology and Medicine, 135, (2021) 104418. https://doi.org/10.1016/j.compbiomed.2021.104418
- S. Gupta, A. Panwar, K. Mishra. (2021) Skin Disease Classification using Dermoscopy Images through Deep Feature Learning Models and Machine Learning Classifiers. 2021 IEEE EUROCON 19th International Conference on Smart Technologies, IEEE, Lviv, Ukraine. https://doi.org/10.1109/EUROCON52738.2021.9535552
- V. Anand, S. Gupta, A. Altameem, S.R. Nayak, R.C. Poonia, A.K.J. Saudagar, An Enhanced Transfer Learning-Based Classification for Diagnosis of Skin Cancer. Diagnostics, 12(7), (2022) 1628. https://doi.org/10.3390/diagnostics12071628
- S.R. Salian, S.D. Sawarkar, Melanoma Skin Lesion Classification using Improved EfficientNetB3. Jordan Journal of Computer and Information Technology, 8(1), (2022).
- P. Ramya, B. Sathiyabhama, Skin Cancer Prediction using Enhanced Genetic Algorithm with Extreme Learning Machine. Journal of Trends in Computer Science and Smart Technology, 5, (2023) 1–13. https://doi.org/10.36548/jtcsst.2023.1.001
- H. Hussein, A. Magdy, R.F. Abdel-Kader, K.A.E. Ali, Binary Classification of Skin Cancer using Pretrained Deep Neural Networks. Suez Canal Engineering Energy Environmental Science Journal, 1, (2023) 10–14.
- B. Shekar, H. Hailu, An Efficient Stacked Ensemble Model for the Detection of COVID-19 and Skin Cancer using Fused Feature of Transfer Learning and Handcrafted Methods. Computer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization, 11, (2023) 878–894. https://doi.org/10.1080/21681163.2022.2117647
- T. Nivyashree, P. Pramila, (2023) Detection of Malignant and Benign Skin Lesions using the Influence of Activation Function and Accuracy Analysis in Densely Connected Convolutional Network Compared over Convolutional Neural Network. 2023 IEEE Intelligent Computing and Control for Engineering and Business Systems (ICCEBS) (2023), IEEE, Chennai, India. https://doi.org/10.1109/ICCEBS58601.2023.10448550
- A. Ghosh, N.D. Jana, S. Das, R. Mallipeddi, Two-Phase Evolutionary Convolutional Neural Network Architecture Search for Medical Image Classification. IEEE Access, IEEE, 11, (2023) 115280-115305. https://doi.org/10.1109/ACCESS.2023.3323705
- R. Maurya, A.K. Bais, T. Gopalakrishnan, M.K. Dutta, N.N. Pandey, S.M. YV, Skin Lesion Classification using Deep Feature Fusion and Selection Using XGBoost Classifier. 2024 IEEE International Students’ Conference on Electrical, Electronics and Computer Science (SCEECS), IEEE (2024), IEEE, Bhopal, India. https://doi.org/10.1109/SCEECS61402.2024.10481955
- C. Angelina, R.U. Ulfitria, (2023) Classification of Skin Cancer using ResNet and VGG Deep Learning Network. Proceedings of the 11th International Applied Business and Engineering Conference (ABEC 2023), Bengkalis, Indonesia. http://dx.doi.org/10.4108/eai.21-9-2023.2342881
Articles

