Modification of Convolutional Neural Network GoogLeNet Architecture with Dull Razor Filtering for Classifying Skin Cancer

  • Sofia Saidah Telkom University
  • I Putu Yowan Nugraha Suparta Telkom University
  • Efri Suhartono Telkom University
Keywords: Accuracy, CNN, F1-Score, GoogLeNet, Skin Cancer, Loss, Precision, Recall


Skin is the widest external organ covering the human body. Due to a high intensity exposure to the environment, the skin can experience various health problems, one of which is skin cancer. Early detection is needed so that further medication for patients can be done immediately. In this regard, the use of artificial intelligence (AI)-based solutions in detecting skin cancer images can be used to detect skin cancer potentials. In this study, the classification of benign and malignant skin cancer types was carried out by utilizing GoogLeNet Convolutional Neural Network (CNN) method. The GoogLeNet architecture has the advantage of having an inception module, allowing the convolution and pooling processes to run in parallel terms that can reduce computing time and speed up the classification process without lowering the system accuracy. This study consisted of several stages, starting from the data acquisition of 600 skin cancer images from to the uniformity of the input size that allows the system to work faster. There was also a utilization of dull razor filtering to reduce input image noise due to hair growing along the epidermis. After the preprocessing process was complete, GoogLeNet architecture processed the image input before categorizing the input into benign or malignant skin cancer. The system’s performance was then evaluated using performance parameters such as accuracy, precision, recall, and F-1 score, and it was compared to other methods. The system managed to obtain satisfactory results, including the accuracy of 97.73% and the loss of 1.7063. As for precision, recall, and F-1 score parameters, each received an average value of 0.98. The system performance proposed by the authors successfully have better accuracy compared to the previous study with much less use of datasets. The test results show that CNN method is able to detect and classify skin cancer accurately, so it is expected that this method could help medical workers in diagnosing the community.


A. Rosana, P. Wijaya, and F. Bimantoro, “Sistem Pakar Diagnosa Penyakit Kulit pada Manusia dengan Metode Dempster Shafer,” J-COSINE, Vol. 4, No. 2, pp. 129–138, 2020.

S. Wilvestra, S. Lestari, and E. Asri, “Studi Retrospektif Kanker Kulit di Poliklinik Ilmu Kesehatan Kulit dan Kelamin RS Dr. M. Djamil Padang Periode Tahun 2015-2017,” J. Kesehat. Andalas, Vol. 7, Supp. 3, pp. 47-49, 2018.

M. Hasan, S. Das Barman, S. Islam, and A.W. Reza, “Skin Cancer Detection Using Convolutional Neural Network,” ICCAI ‘19: Proc. 2019 5th Int. Conf. Comput., Artif. Intell., 2019, pp. 254–258.

M.A. Kadampur and S. Al Riyaee, “Skin Cancer Detection: Applying a Deep Learning based Model Driven Architecture in the Cloud for Classifying Dermal Cell Images,” Inform. Med. Unlocked, Vol. 18, pp. 1-6, 2020.

A. Khamparia, et al., “An Internet of Health Things-Driven Deep Learning Framework for Detection and Classification of Skin Cancer Using Transfer Learning,” Trans. Emerg. Telecommun. Technol., Vol. 32, No. 7, pp. 1–11, 2021.

H. Alquran, et al., “The Melanoma Skin Cancer Detection and Classification Using Support Vector Machine,” 2017 IEEE Jordan Conf. Appl. Electr. Eng. Comput. Technol. (AEECT 2017), 2017, pp. 1–5.

J. Daghrir, L. Tlig, M. Bouchouicha, and M. Sayadi, “Melanoma Skin Cancer Detection Using Deep Learning and Classical Machine Learning Techniques: A Hybrid Approach,” 2020 Int. Conf. Adv. Technol. Signal Image Process. (ATSIP 2020), 2020, pp. 1–5.

N.S. Zghal and N. Derbel, “Melanoma Skin Cancer Detection Based on Image Processing,” Curr. Med. Imaging Rev., Vol. 16, No. 1, pp. 50–58, 2018.

M. Kumar, et al., “A DE-ANN Inspired Skin Cancer Detection Approach Using Fuzzy C-Means Clustering,” Mob. Networks Appl., Vol. 25, No. 4, pp. 1319–1329, 2020.

T. Saba, M.A. Khan, A. Rehman, and S.L. Marie-Sainte, “Region Extraction and Classification of Skin Cancer: A Heterogeneous Framework of Deep CNN Features Fusion and Reduction,” J. Med. Syst., Vol. 43, No. 9, pp. 1-19, 2019.

E. Yilmaz and M. Trocan, “A Modified Version of GoogLeNet for Melanoma Diagnosis,” J. Inf. Telecommun., Vol. 5, No. 3, pp. 395–405, 2021.

J. Höhn, et al., “Combining CNN-based Histologic Whole Slide Image Analysis and Patient Data to Improve Skin Cancer Classification,” Eur. J. Cancer, Vol. 149, pp. 94–101, 2021.

M. Wardhana, et al., “Karakteristik Kanker Kulit di Rumah Sakit Umum Pusat Sanglah Denpasar tahun 2015-2018,” Intisari Sains Medis, Vol. 10, No. 1, pp. 260–263, 2019.

I.W. Suartika E.P, A.Y. Wijaya, and R. Soelaiman, “Klasifikasi Citra Menggunakan Convolutional Neural Network (CNN) pada Caltech 101,” J. Tek. ITS, Vol. 5, No. 1, pp. A65-A69, 2016.

E.N. Arrofiqoh and H. Harintaka, “Implementasi Metode Convolutional Neural Network untuk Klasifikasi Tanaman pada Citra Resolusi Tinggi,” Geomatika, Vol. 24, No. 2, pp. 61-68, 2018.

N. Bi, J. Chen, and J. Tan, “The Handwritten Chinese Character Recognition Uses Convolutional Neural Networks with the GoogLeNet,” Int. J. Pattern Recognit. Artif. Intell., Vol. 33, No. 11, pp. 1-12, 2019.

R. Yamashita, M. Nishio, R. Do, and K. Togashi, “Convolutional Neural Networks: An Overview and Its Applications in Pattern Recognition,” Smart Innov. Syst. Technol., Vol. 195, pp. 21–30, 2021.

C. Szegedy, et al., “Going Deeper with Convolutions,” J. Chem. Technol. Biotechnol., Vol. 91, No. 8, pp. 2322–2330, 2015.

C.A. Dias, et al., “Using the Choquet Integral in the Pooling Layer in Deep Learning Networks,” in Fuzzy Information Processing. NAFIPS 2018. Communications in Computer and Information Science, Vol. 831, G.A. Barreto and R. Coelho, Eds., Cham, Swiss: Springer, 2018, pp. 119–131.

L. Wu and G. Perin, “On the Importance of Pooling Layer Tuning for Profiling Side-Channel Analysis,” in Applied Cryptography and Network Security Workshops. ACNS 2021. Lecture Notes in Computer Science, Vol. 12809, Cham, Swiss: Springer, 2021, pp. 114–132.

M. Lin, Q. Chen, and S. Yan, “Network in Network,” 2nd Int. Conf. Learn. Represent. (ICLR 2014) - Conf. Track Proc., 2014, pp. 1–10.

A. Poernomo and D.K. Kang, “Biased Dropout and Crossmap Dropout: Learning Towards Effective Dropout Regularization in Convolutional Neural Network,” Neural Netw., Vol. 104, pp. 60–67, 2018.

R. Herwanto, K. Gunadi, and E. Setyati, “Pengenalan Golongan Jenis Kendaraan Bermotor pada Ruas Jalan Tol Menggunakan CNN,” J. Infra Petra, Vol. 8, No. 1, pp. 196–202, 2020.

How to Cite
Sofia Saidah, Suparta, I. P. Y. N., & Suhartono, E. (2022). Modification of Convolutional Neural Network GoogLeNet Architecture with Dull Razor Filtering for Classifying Skin Cancer. Jurnal Nasional Teknik Elektro Dan Teknologi Informasi, 11(2), 148-153.