You are on page 1of 7

International Journal of Science, Technology, Engineering and Management–A VTU Publication

2021 Vol: 3, No: pp: 40-46

ISSN: 2582-5844(online)

Machine Learning Approach for Malignant Melanoma Classification

Rashmi Patil*a, SreepathiBellaryb

a,b
Computer Science and Enginnering, RYMEC, VTU, Ballari, Karnataka, India.

Abstract:Nowadays growth of malignant skin causes the death of patients and ishighly identified
reason for death among people. The unusual growth of skin cells on any part of the body happens, and it
AR TIC LE H ISTORY comes to exposure of sunlight is known as malignant skin. If malignant skin cancer is detected at an

Received: 12/01/2021 early stage, then a huge portion of skin malignant growth is recoverable, so it can save the patient's life.
Revised: 14/03/2021 The identification of melanoma skin cancer is possible at an early stage by using novel methods. Here,
Accepted: 18/03/2021 we described two schemes for detecting melanoma from benign dermoscopic pictures. The first scheme
combines the convolutional neural network (CNN) with the support vector machine (SVM), that is,
CNN+SVM and the second scheme combines CNN with extreme gradient boosting (XGB), that is,
CNN+XGB, because CNN works well for the training dataset, and the SVM work fine in classification
also XGB used as a recognizer. The total of 2000 images are taken and achieved accuracy 84.0 % for
CNN+SVM and for 88.0 % CNN+XGB.
Keywords: Dermoscope; Convolutional neural network; Extreme gradient boosting; Melanoma; Support vector machine.

1. INTRODUCTION E-mail: rashmiashtagi@gmail.com

Few melanomas lose pigment, without dark pigment


Malignant melanoma, is referred as a “melanoma,” and is partially orfully, and become pink, white, or tan. Apart from
a kind of skin cancer that in almost all cases begins in color, elevation, there are numerous other features of
pigment cells of the skin. Almost all people when they think melanomas like texture [16] and an existence of certain
about melanoma think of a dark grown lesion; after all, these structures in the lesion that separate them from benign
tumors grow from pigment cells. The skin is basic part of lesions. If detection of melanoma happens at the beginning
body ensures against daylight, heat, some destructive beams stage, then it can be treated and cured. The malignant growth
from the sun, various diseases and wounds. Skin is happens on numerous body parts, and it leads to difficulties
performing significant job to store water, nutrient D and fat to cure.
and keep up internal heat level. Malignant growth is
dangerous type of skin cancer [5, 6]. Malignant growth Dermoscopy [10] or microscopy of the dermoscopy is
occurs as unrepairable damage to the skin's cells, is in part often referred to as dermatoscopy. Dermoscopy is a
caused by sunlight, and inherited malformations. procedure for magnifying and shining pictures of a section of
the skin to enhance the integrity of the skin spots. The device
Melanoma looks similar to moles or also might be associated with the image is known as a dermatoscope.
generated from moles. The color of melanoma might be Touch, using a gel coating between the skin, dermatoscope,
dark, brown, purple, red, skin-hued, pink, white or blue. and contact-free, without skin or fluid contact are known as
dermatoscopes. Cross polarized light from the dermatoscope
*Rashmi Patil; RYMEC, Bellary, India; Mobile: 9960994725;

© 2021VTU Page No. 40


Machine Learning Approach for Malignant Melanoma Classification IJESM - VTU, 2021, Vol. 3, Issue.1 41

is used for the picture in non-contact pictures and some 1, 2 or 3. Authors utilizes CNN algorithm with a loss
contact shots. Dermoscopy images are extremely used when function Similarity Measure for Text Processing. Jiawen
skin lesions are recognized due to their enlightenment and Yang et al. [3] presented novel melanoma classification
magnification. Melanoma thickness [6] of melanoma needs method using CNN. This method utilized to classify
to be detected for phases. dermoscopy images. They presented method known as a
RAPooling is focuses the region of interest. The introduced
Skin lesion detection [5] from dermoscopic pictures is a combination of classification with segmentation information
very difficult work for proficient dermatologists because of which utilizes region of lesion that are segmented to direct
less difference among encompassing lesions and skin, the RAPooling for classification. Also introduced RankOpt
visual likeness between skin lesions, confused borders of classifier to obtain optimized outcomes. Jason R. Hagerty et
lesions, and so forth. An automated dermoscopic image al. [4] introduced an approach by combining deep learning
detection device for the computer helps clinicians predict and conventional image processing (CIP). CIP utilized 3
early damage to the malignant skin. In a wide sense, the handmade image processing modules and 1 clinical
profound learning is advanced and knowledgeable in terms information module. The features of lesion are detected in
of precision and comparable compatibility of the machine image processing module and compared to clinical
compared to CNN. To allow effective drugs, a blurred skin dermoscopy info. The clinical dermoscopy information
lesion needs to be identified [10, 11]. consists of data given to clinical dermoscopy information
and this module uses transfer learning network. Handmade
Early identification of melanoma [18] considerably rises feature detection consists of the following steps: the first one
survival rate of the patient. Only experienced dermatologists is preprocessing then applied Median Color Split Algorithm
are able to detect exact melanoma skin lesions by seeing and Telangiectasia Vessel Detection Algorithm Then
lesion dermoscopic images. Although, the detection of Atypical Pigment Network Detection, Demographic Features
melanoma exactly is an incredibly difficult task due to the detection, Salient Point Detection, Specific Colors Detection.
low difference between skin and lesion. So, the non-invasive Yuexiang Liet al. [5] developed two deep learning (DL)
method is required to detect melanoma and benign. Proposed methods for locating the three tasks (segmentation of lesion,
a novel system to reduce these challenges with difficulties extraction of feature, and classification) arrived in the skin
for accuracy and automatic melanoma recognition [10] in lesion image processing area. Patil Rashmi at al. [6]
dermoscopy images. Designed the framework for melanoma presented a review on melanoma recognition and
detection from benign by dermoscopic images. The first classification of stages based on thickness. Introduced
technique combines CNN with SVM, CNN [3] is utilized for numerous stages of melanoma. According to a review if
training and SVM utilized for classification. The second cancer is diagnosed and treated at an early stage, the survival
scheme combines CNN with XGB, XGB utilized as chances of the patient will be more. These stages depend on
recognizer. the thickness of melanoma hence we can say that survival
chances are based on the thickness. And the thickness
CNN is one of classical deep learning [5] models. The prediction of melanoma is very difficult there are very few
human success in object recognition has been shown to go techniques available for that. S. M. Sangve and Patil Rashmi
beyond that. Recently, photos consisting of dermoscopic [7] presented a competitive analysis for recognizing
skin cancers and artificial intelligence were recognized and melanoma from dermoscopy images. Here the author
demonstrated to be able to categorize skin cancer of a degree presents a comparative study on two techniques of
of skin competence equivalent to dermatologist. In order to melanoma detection. The first method utilizes global features
get better results, CNN is paired with SVM and XGB. and the second method utilizes local features. A recognition
is based on dermoscopy images. The detection based on the
global feature method provided with dermoscopy images
2. LITERATURE then performed segmentation of lesion then extracted
features and applied classification on these features. And the
D. T. Mane et al., presented a Customized Convolutional detection based on the local feature method system provided
Neural Network (CCNN) for analyzing Marathi handwritten with dermoscopy images of skin lesion, then segments the
numbers. The proposed model has an ability to work with lesion and selects the key points and then features are
large dataset and it can enhance the performance. In addition, extracted based on that histogram drawn and performed
it requires less processing time that is training time because classification. According to the authors, the local method is
of utilization of GPU and CPU. Also, the authors utilized better than the global and the global strategy is better if the
ten-fold cross-validation techniques for better outcome. They skin lesion is homogeneous.
utilized 80000 Marathi numerals as a dataset to train and test
the results [1]. Melanoma is known as deadliest skin cancer Julia K. Winkler et al. [8] studied melanoma
because it causes person death. When it is diagnosed at the identification using deep learning CNN. Deep learning CNN
early stage, then it is recoverable so it is vital to classify demonstrate high potential for melanoma detection.
them in stages, but it is a very complicated task to identify Recognition of melanoma thickness based on position and
and classify them into stages. Here, Patil Rashmi and subtype of melanoma. There was no question whether CNN
Sreepathi Bellary [2] presented two methods that identify can offset the diagnostic problems of the doctors in these
stages of melanoma. The first method classifies them into melanomas. The focus of the Author is to research the
stage 1 and 2 and second method classify melanoma in stage diagnostics success of CNN with European market approval
42 IJSTEM–VTU, 2021 Vol: 3, No:1 , pp: 40-46 Rashmi Patilet.al.

in various localizations and subtypes of melanoma. A deeper


regional network of convolutions and fuzzy mean C clusters
used NudratNidaa et al. [9] to detect melanoma injuries and 3. SYSTEM ARCHITECTURE
segmentation. Several areas of infection were accurately The proposed system (Figure 1) for melanoma dataset
diagnosed by a profound, regionally focused neural neural classification and is a combination of CNN+SVM and
network (RCNN) in the form of bounding boxes to simplify CNN+XGB. A system is trained using CNN and activation
the location of the cluster. In order to efficiently, accurately function used is leaky relu. Figure.3 shows proposed
and automatedly segment the Melanoma area into architecture in detail. The CNN+SVM and CNN+ XGBoost
dermoscopic images, the author developed a new technique architecture are constructed using SVM and XGBoost to
using RCMN and FCM clustering. The treatment is a three- create the last outcome layer for CNN frames. The Input
stage procedure: skin flushing, melanoma area position, and Activation Function is a linear setting of prior hidden layer
finally melanoma segmentation. The Deep Residual outcomes, with qualified weights, as well as a biased time.
Networks for Automatic Dermoscopic Melanoma Detection, The hidden layer calculations are not only meaningful to the
introduced very by Lequan Yu et al. [10]. Two measures, CNN framework, but can also be treated as input highlights
such as segmentation and classification, are the new for different classifications. The framework of this
approach proposed. The author integrates these two steps in combination is focused on the advantages of CNN, SVM and
full and produces a manually interactive and integrated XGBoost being consolidated.
system. Very deep CNNs could produce functions that are
highly discriminatory as compared with shallow equivalents,
both segmentation and gradation efficiency being improved.
The author has also developed a new FCRN programmed for
specifically segmented skin injuries. A. A. Adegun et al. [11]
presented a method based on deep learning for detecting
melanoma, introduced to mitigate the limitations of the
existing system. For efficient learning and extracting the
features from image an enhanced encoder-decoder network
utilized. The proposed system consists of multi-stage and
multi-scale method with softmax classifier utilized to
classify melanoma lesions pixel wise. The author designed
lesion classifier method to do classification of skin lesions in
non-melanoma and melanoma skin, for do that used
outcomes obtained from pixel-wise classification. The early
detection of melanoma is vital to save life of patient, but all
time it is not recognized exactly based on clinical appearance
so additional methods needs to diagnose melanoma of
pigmented skin lesions. Here H. Pehamberger et al [14]
proposed vivo epiluminescence microscopy for detecting
melanoma by detail analysis of a pigmented skin lesion
Figure 1. Proposed System Architecture
surface.They analyzed 3000+ pigmented skin lesions using
epiluminescence microscopy. Catarina Barata et al. [16]
3.1. Dataset Description
locate two systems to identify melanoma utilizing
dermoscopy images. In the first system for classifying the We take dataset from ISIC 2017: Skin Lesion Analysis
skin lesions global methods utilized and in the second Towards Melanoma Detection.This consist of training,
method for classification local features and bag-of-features validation and blind held-out test dataset. In this, we utilized
utilized. Here the main focus of the authors is to find the best ISICdataset which consists, training: 2000 images testing:
system among both. The novel approach proposed by Zhen 600 images and validation: 150images. Table 1 shows
Ma [17] relies on a deformable paradigm for the treatment of detailed about dataset: Class 0 – Benign and Class 1 –
dermoscopic skin lesion segmentations. Color RGB space to Melanoma.
separate skin and skin lesions from normal. The proposed Table 1. Dataset information
solution also provides powerful and versatile segmentation,
vigorous against noise. For device performance monitoring, TotalImages Class 0 Class 1
the author used two image databases. O. Abuzaghleh et al.
[18] presented 2 components for early identification and Training Dataset 2000 1626 374
prevention of melanoma of a noninvasive real-time TestingDataset 600 483 117
automated skin lesion analysis system. The first one helps ValidationDataset 150 120 30
people to prevent their skin from sunlight and second one
consists of image property, hair diagnosis, segmentation of
lesion, extraction of features and classifications. The authors 3.2 Preprocessing
used PH2 Dermoscopy image database for testing The image dataset is preprocessed by utilizing numerous
performance of system and this database is taken from Pedro preprocessing techniques which consist of resize,
Hispano Hospital.
Machine Learning Approach for Malignant Melanoma Classification IJESM - VTU, 2021, Vol. 3, Issue.1 43

segmentation, sharpening and reshape. Figure 2 shows XGBoost are used to build new frameworks instead
preprocessed image. of the standard Softmax function with cross
entropy.

Figure 2. Image preprocessing.


3.3 Model training using CNN
A CNN Deep Learning algorithm can give significance to
various aspects of the image (learnable weights and
preference) and can distinguish between each aspect and the
next. In contrast to other classification algorithms, ConvNet's
preprocessing needs are significantly lower. CNN models
will pass through a sequence of philter convolution layers,
pooling, full-connected (FC) layers for training and testing,
each input image and use Softmax / Sigmoid to classify an
entity with probabilistic values between 0 and 1.

3.4 Classification using SVM and XGboost


Supporting vector systems are supervised learning models
with similar learning algorithms which define the data used
for regression and assessment. An SVM model portrays
instances as space points mapped with the distance needed to
categorize as much as possible the instances of the different
categories. In the same space, new instances are then mapped
and predicted to be part of a remote population. The data
collection of theimage is processed and forwarded to the
CNN input layer. The last CNN layer weights will be stored
in the .h5 file after the planning. The SVM and XGB graders
indicate these weights. Here, the output layer of CNN is
replaced by SVM and XGBoost, the CNN classifier soft-
max, and the ability for training is used.

3.5 Proposed Algorithm


Following are the steps involves in execution of our
proposed system.
 ISIC images dataset: Input ISIC images dataset of
the cancer infected skin (malignant and benign).
Then
 Preprocessing: Perform preprocessing of the
images: In this, the images will be resized, Figure 3.CNN architecture.
segmented, sharpened and reshaped.
 CNN: Apply CNN for training. 4. RESULTS AND DISCUSSION
 The weights of the last layer from CNN are stored
in .h5 file which will be used by SVM and 4.1 Experimental Setup
XGBoost classifiers as input. The proposed CNN+SVM and CNN+XGB systems are
 The CNN+SVM and CNN+XGB frameworks implemented with Python software and algorithms, and
strategies congested with Anaconda (Jupiter), the opposing
architecture are designed by substituting the last
classification approach, and feature extraction methods, and
return layer for CNN frames with SVM and run in an environment with Intel Core i5-6200U, 2.30 GHz
XGBoost. In the last CNN laying, SVM and Windows 10 (64 bit) 8GB RAM configuration systems.
44 IJSTEM–VTU, 2021 Vol: 3, No:1 , pp: 40-46 Rashmi Patilet.al.

4.2 Analysis Performance Measure


Figure. 4 shows the graph of sensitivity and specificity Comparison Graph
comparison of CNN, CNN+SVM and CNN+XGB methods.
100
Specificity holds good for both CNN+SVM and CNN+XGB. 90
Sensitivity out performs in CNN+XGB. 80
70
60
50

%
Specificity and Sensitivity 40
30
20
Comparison Graph 10
0
CNN +
100 CNN CNN + XG
SVM
90
80 PRECISION 77.08 83.16 85.76
70 RECALL 78.68 64.44 87.87
60
50 F1 MEASURE 70.59 68.15 82.35
%

40 ACCURACY 80 84 88
30
20 Algorithms
10
0 Figure 5. Melanoma sensitivity, specificity and accuracy
CNN + CNN +
CNN graph comparison.
SVM XG
SENSITIVITY 75 64.44 87.5
SPECIFICITY 82.35 88.33 88.23 5. CONCLUSION
Algorithms The detection of melanoma exactly is incredibly challenging
task due to low differences among skin and lesion, visual
Figure 4. Melanoma sensitivity, specificity and accuracy comparability among melanoma and benign, and so forth.
graph comparison. Hence, non-invasive technique is required to detect
melanoma and benign. To handle these problems, we
Figure 5 demonstrates the Precision, F-measure, Recall, and proposed the novel system that deal with issues for exactness
Accuracy graph comparison of CNN, CNN+SVM and novel and automatic melanoma recognition in dermoscopy images.
CNN+XGB methods. The outcomes demonstrate The framework for melanoma recognition from benign by
CNN+XGB gives more accurate results. dermoscopic images using CNN + SVM and CNN+XGB are
proposed. CNN works well for training dataset and SVM is
utilized for classification as it is advantageous for
generalization. The significant favorable position of SVM is
that it gives unified framework where diverse learning
machine models can be generated through a proper decision
of the portion. The norm used in SVM, which limits the
upper bond of generalization errors. The characteristics of
CNN and SVM are taken into account and a new CNN +
SVM system is proposed. The CNN+XGB model generates
a precise output by incorporating CNN into the network's
highest level as a qualified function extractor that
automatically acquires functions from input and XGBoost as
a recognizer.

The data used is ISIC 2017: Towards Melanoma


Detection Skin Lesion Study. The CNN + XGB system's
results are better than CNN and CNN + SVM, particularly
measured in terms of precision, recall, specificity,
sensitivity, precision and F-measurement.

REFERENCES
Machine Learning Approach for Malignant Melanoma Classification IJESM - VTU, 2021, Vol. 3, Issue.1 45

[12]. A. Naeem, M. S. Farooq, A. Khelifi and A.


[1]. D.T. Mane, U.V. Kulkarni “Visualizing and Abid,“Malignant Melanoma Classification Using
Understanding Customized Convolutional Neural Deep Learning: Datasets, Performance
Network for Recognition of Handwritten Marathi Measurements, Challenges and
Numerals”, Procedia Computer Science, vol. 132, Opportunities”,IEEE Access, vol. 8, pp. 110575-
pp. 1123-1137, 2018. 110597, 2020.
[2]. Rashmi Patil,Sreepathi Bellary, “Machine learning [13]. K. Korotkov et al., "An Improved Skin Lesion
approach in melanoma cancer stage detection”, Matching Scheme in Total Body Photography,"
Journal of King Saud University - Computer and in IEEE Journal of Biomedical and Health
Information Sciences,pp. 1-9, 2020. Informatics, vol. 23, no. 2, pp. 586-598, March
[3]. J. Yang, F. Xie, H. Fan, Z. Jiang and J. Liu, 2019.
“Classification for Dermoscopy Images Using [14]. Pehamberger H., Steiner A., Wolff K., “In vivo
Convolutional Neural Networks Based on Region epiluminescence microscopy of pigmented skin
Average Pooling”,IEEE Access, vol. 6, pp. 65130- lesions”, I. Pattern analysis of pigmented skin
65138, 2018. lesions. J Am Acad Dermatol, vol.17(4), pp. 571-
[4]. Hagerty JR, Stanley RJ, Almubarak HA, Lama N, 83, 1987.
Kasmi R, Guo P, Drugge RJ, Rabinovitz HS, [15]. H. Chim and X. Deng,“Efficient Phrase-Based
Oliviero M, Stoecker WV, “Deep Learning and Document Similarity for Clustering”,IEEE
Handcrafted Method Fusion: Higher Diagnostic Transactions on Knowledge and Data Engineering,
Accuracy for Melanoma Dermoscopy Images”, vol. 20, pp. 1217-1229, 2008.
IEEE J Biomed Health Inform, vol. 23(4), pp.1385- [16]. C. Barata, M. Ruela, M. Francisco, T. Mendonça
1391, 2019. and J. S. Marques,“Two Systems for the Detection
[5]. Li Y., Shen L.,“Skin Lesion Analysis towards of Melanomas in Dermoscopy Images Using
Melanoma Detection Using Deep Learning Texture and Color Features”, IEEE Systems
Network”, Sensors, vol. 18,2018. Journal, vol. 8, pp. 965-979, 2014.
[6]. Patil Rashmi R.and Sreepathi Bellary, “Review: [17]. Z. Ma and J. M. R. S. Tavares,“A Novel
Melanoma Detection & Classification Based on Approach to Segment Skin Lesions in Dermoscopic
Thickness using Dermascopic Images”,IJCTA,vol. Images Based on a Deformable Model”, IEEE
10,pp. 821-825, 2017. Journal of Biomedical and Health Informatics, vol.
[7]. Mr. S. M. Sangve, Ms. Patil Rashmi 20, pp. 615-623, 2016.
R.,“Competitive Analysis for the Detection of
[18]. Abuzaghleh, B. D. Barkana and M.
Melanomas in Dermoscopy Images”, International
Journal of Engineering Research & Technology Faezipour,“Noninvasive Real-Time Automated
(IJERT), vol. 03, pp. 351- 354, 2014. Skin Lesion Analysis System for Melanoma Early
[8]. Winkler JK,Sies K, Fink C,Toberer F,Enk Detection and Prevention”,IEEE Journal of
A,Deinlein T, Hofmann-Wellenhof R; Thomas L Translational Engineering in Health and Medicine,
Lallas A, Blum A, Stolz W,Abassi MS, Fuchs T, vol. 3,pp. 1-12, 2015.
Rosenberger A,Haenssle HA,“Melanoma
recognition by a deep learning convolutional neural
network-Performance in different melanoma
subtypes and localisations”, Eur J Cancer, pp.21-
29,2020.
[9]. Nudrat Nida,AunIrtaza, Ali Javed, Muhammad
Haroon Yousaf, Muhammad Tariq Mahmood,
“Melanoma lesion detection and segmentation using
deep region based convolutional neural network and
fuzzy C-means clustering”, International Journal of
Medical Informatics, vol. 124, pp.37-48, 2019.
[10]. L. Yu, H. Chen, Q. Dou, J. Qin and P.
Heng,“Automated Melanoma Recognition in
Dermoscopy Images via Very Deep Residual
Networks”, IEEE Transactions on Medical Imaging,
vol. 36, pp. 994-1004, 2017.
[11]. A. A. Adegun and S. Viriri, “Deep Learning-
Based System for Automatic Melanoma
Detection”, IEEE Access, vol. 8, pp. 7160-7172,
2020.
46 IJSTEM–VTU, 2021 Vol: 3, No:1 , pp: 40-46 Rashmi Patilet.al.

Rashmi Patil, Research Scholar,


Computer Science and
Engineering, RYM Engineering
College, Ballari.

Dr.Sreepathi Bellary, Professor


and Head of Department,
Information Science and
Engineering, RYM Engineering
College, Ballari.

You might also like