Article Complete
    AIM

    How Neural Networks Are Being Used For Skin Cancer Classification

    How Neural Networks Are Being Used For Skin Cancer Classification

    How Neural Networks Are Being Used For Skin Cancer Classification

    How Neural Networks Are Being Used For Skin Cancer Classification
    Abhishek Sharma··Updated DECEMBER 31, 2024, 5:30 AM
    5 min
    Cancer is one of the most dreaded diseases in the world and in spite of the fact that medical advancements are happening at a rapid pace, this evil apparition of a disease continues to affect and take many lives. This article explores the application of neural networks in particularly skin cancer classification. We would discuss the methods of classification of images for detecting skin cancer with neural networks which can help oncologists and dermatologists diagnose the disease faster, with greater accuracy.

    Forms Of Skin Cancer

    Skin cancer is mainly caused by sun’s rays inflicting the human skin, causing abnormal growth in skin cells. Although the disease is more prevalent in Western countries, nevertheless the possibilities of skin cancer occuring should not be ignored by people of all skin colors. The following are the forms of skin cancer that arise from the early stages that gradually lead to the last stage.
    • Actinic Keratosis: Precancerous growths on the skin that are usually pale, dry spots
    • Basal cell carcinoma: The skin develops pinkish blemishes. It originates in the epidermis layer of skin.
    • Squamous Cell Carcinoma: Red bumps or patches are developed on the skin. If left untreated, it can lead to permanent skin damage.
    • Melanoma: It develops as a small dark mole which left undiagnosed can cause death by spreading to other organs. It originates in skin pigment-producing cells called melanocytes.
    The first three forms will sometime lead to melanoma, and should be mitigated at the early onset itself.

    Neural Networks For Skin Cancer Classification

    Since melanoma is the most dangerous among the various forms of skin cancers, Neural networks (NN) are usually centered around and developed for classification of this specific skin cancer type. However, NN are trained to classify other forms too. In one study by Andre Esteva at Stanford University, NN were trained to classify approximately 2,000 skin cancer variations with more than 1,00,000 images. The sample images which were chosen for classifications are shown below [caption id="attachment_23656" align="alignnone" width="884"]skin cancer classification Image Credits : Andre Esteva - Stanford University [/caption] The images are classified along two dimensions of tumor growth, benign and malignant, against three forms of skin cancer development called epidermal lesions, melanocytic lesions and dermoscopically observed melanocytic lesions. This is to avoid misclassification by NN and make diagnosis of skin diseases easier. The type of network architecture used is Inception-V3, which is a deep Convolutional Neural Network (CNN). This NN can make an error of only upto 20 percent, which makes it helpful for image validation to eliminate misclassification to a greater extent. Once the NN is introduced in the process, the training of these image data is segregated into 750 classes, as well as into inference classes along the two dimensions (benign/malignant probability) by using a partitioning algorithm. Another dimension called Non-Neoplastic is also introduced to the inference class considering the possibility of benign growths turning malignant.

    Validation And Working

    Once the entire NN classification structure is established for skin cancer classification, it is set for validation. This means the set of input images are checked whether they conform to the skin classification scenario or not. The validation can be done according to the dimensions or classes mentioned earlier. Test sets can be images collected for classification and the number can vary with regard to images collected in the context. In the study, the accuracy obtained in validation is close to that of the dermatologist itself (almost 90 percent accurate). T-distributed stochastic neighbor embedding (t-SNE) is the ML algorithm used for partitioning. The classification basis are visualised below in the picture. [caption id="attachment_23657" align="alignnone" width="1024"]skin cancer classification Image Credits : Andre Esteva - Stanford University [/caption] Although, the validation is done to maintain precision in classification, it will lead to instances where the NN and algorithm might misclassify benign growth as malignant, vice-versa or even give a completely different output altogether. The percentage stands low — at 10 percent — but there is room for improvement to achieve 100 percent accuracy.

    Conclusion

    There are no regions or organs in the human body that cannot be afflicted by cancer, and that’s why it is important to keep a check on its progression. The earlier the cancer is diagnosed, the easier it is to prevent it from growing and spreading to other parts of the body. This can also lead to curing the threat altogether. This is where machine learning aids oncologists and dermatologists with accuracy and speed.

    Your reaction

    Discussion

    What's your take on this story?

    0/1000

    No comments yet — be the first to share your view.

    Explore our newsletters

    Build your routine with some of our top newsletters or view them all here.

    Wake up informed

    Make sense of the day's AI news and breakthroughs with our morning briefing.

    Belamy
    WeeklyBelamySee the latest

    Industry intelligence

    Receive a roundup of AI adoption stories by industry vertical, curated for professionals.

    3x WeeklySector6See the latest

    By signing up, you agree to our Privacy Policy.

    Membership

    Stay ahead with AI insights.

    Unlimited access to premium articles, exclusive analysis, and the stories shaping India's AI economy.

    Subscribe now

    AIM Americas

    1190 Miraloma Way Suite P, Sunnyvale, CA 94085

    AIM India

    1st Floor, Sakti Statesman, Bellandur, Bengaluru – 560103

    © 2026 AIM. All rights reserved.