Submitted:
28 July 2026
Posted:
31 July 2026
You are already at the latest version
Abstract
Keywords:
1. Introduction
2. Materials and Methods
2.1. Data Pre-Processing
2.2. Logistic Regression—LR
2.3. Generalized Additive Models—GAMs
2.4. Random Forest—RF
2.5. Extreme Gradient Boosting (XGBoost)
2.6. SHapley Additive exPlanations—SHAP
3. Results
3.1. Study Population
3.2. Inferential Analysis
3.3. Predictive Modelling
3.3.1. Logistic Regression
3.3.2. Generalized Additive Model
3.3.3. Random Forest
3.3.4. Extreme Gradient Boosting
3.4. Model Interpretability
4. Discussion
5. Conclusions
6. Future Developments
Acknowledgments
Conflicts of Interest
Abbreviations
| MDPI | Multidisciplinary Digital Publishing Institute |
| DOAJ | Directory of open access journals |
| TLA | Three-letter acronym |
| LD | Linear dichroism |
References
- International Skin Imaging Collaboration (ISIC). BCN20000 Collection. 2026. Available online: https://api.isic-archive.com/collections/249/.
- Hernández-Pérez, C.; Combalia, M.; Podlipnik, S.; Codella, N.C.F.; Rotemberg, V.; Halpern, A.C.; Reiter, O.; Carrera, C.; Barreiro, A.; Helba, B.; et al. BCN20000: Dermoscopic Lesions in the Wild. Sci. Data 2024, 11, 641. [Google Scholar] [CrossRef]
- National Comprehensive Cancer Network. NCCN Clinical Practice Guidelines in Oncology: Cutaneous Melanoma. Version 2.2024. J. Natl. Compr. Cancer Netw. 2024, 22, 290–359. [Google Scholar] [CrossRef]
- Gershenwald, J.E.; Scolyer, R.A.; Hess, K.R.; Sondak, V.K.; Long, G.V.; Ross, M.I.; Lazar, A.J.; Faries, M.B.; Kirkwood, J.M.; McArthur, G.A.; et al. Melanoma staging: Evidence-based changes in the American Joint Committee on Cancer eighth edition cancer staging manual. CA A Cancer 658 J. Clin. 2017, 67, 472–492. [Google Scholar] [CrossRef] [PubMed]
- Bray, F.; Laversanne, M.; Sung, H.; Ferlay, J.; Siegel, R.L.; Soerjomataram, I.; Jemal, A. Global cancer statistics 2022: GLOBOCAN estimates of incidence and mortality worldwide for 36 cancers in 185 countries. CA A Cancer J. Clin. 2024, 74, 229–263. [Google Scholar] [CrossRef] [PubMed]
- International Agency for Research on Cancer (IARC). Global Cancer Observatory: Cancer Today GLOBOCAN 2022 estimates. 2024. Available online: https://gco.iarc.who.int/today (accessed on 22 July 2026).
- Associazione Italiana di Oncologia Medica (AIOM). I numeri del cancro in Italia 2025. 2025. Available online: https://www.aiom.it/i-numeri-del-cancro-in-italia/.
- Istituto Superiore di Sanità. Epicentro—Melanoma. 668 2025. Available online: https://www.epicentro.iss.it/melanoma/.
- Esteva, A.; Kuprel, B.; Novoa, R.A.; Ko, J.; Swetter, S.M.; Blau, H.M.; Thrun, S. Dermatologist-Level Classification of Skin Cancer with Deep Neural Networks. Nature 2017, 542, 115–118. [Google Scholar] [CrossRef] [PubMed]
- Jones, O.T.; Matin, R.N.; van der Schaar, M.; Prathivadi Bhayankaram, K.; Ranmuthu, C.K.I.; Islam, M.S.; Behiyat, D.; Boscott, R.; Calanzani, N.; Emery, J.; et al. Artificial intelligence and machine learning algorithms for early detection of skin cancer in community and primary care settings: A systematic review. Lancet Digit. Health 2022, 4, e466–e476. [Google Scholar] [CrossRef] [PubMed]
- Combalia, M.; Codella, N.; Rotemberg, V.; Carrera, C.; Dusza, S.; Gutman, D.; Helba, B.; Kittler, H.; Kurtansky, N.R.; Liopyris, K.; et al. Validation of artificial intelligence prediction models for skin cancer diagnosis using dermoscopy images: the 2019 International Skin Imaging Collaboration Grand Challenge. Lancet. Digit. Health 2022, 4, e330–e339. [Google Scholar] [CrossRef] [PubMed]
- Sauter, D.; Lodde, G.; Nensa, F.; Schadendorf, D.; Livingstone, E.; Kukuk, M. Deep learning in computational dermatopathology of melanoma: A technical systematic literature review. Comput. Biol. Med. 2023, 163, 107083. [Google Scholar] [CrossRef] [PubMed]
- Hu, E.; Tai, M.; Nie, Z.; Lin, K.; Fu, H.; Wang, Z.; Zhang, J. Development of a machine learning-based model for prognostic prediction in melanoma. Sci. Rep. 2025, 15, 45628. [Google Scholar] [CrossRef] [PubMed]
- Ye, S.; Zhang, R.; Cao, M.; Qiu, Z.; Zhang, Q.; Lv, Q.; Wang, Y. Development of a Machine Learning Model for Distant Metastasis Risk Stratification in Acral Melanoma. Cancer Rep. 2026, 9, e70569. [Google Scholar] [CrossRef] [PubMed]
- Ningrum, D.N.A.; Yuan, S.P.; Kung, W.M.; Wu, C.C.; Tzeng, I.S.; Huang, C.Y.; Li, J.Y.C.; Wang, Y.C. Deep Learning Classifier with Patient’s Metadata of Dermoscopic Images in Malignant Melanoma Detection. J. Multidiscip. Healthc. 2021, 14, 877–885. [Google Scholar] [CrossRef] [PubMed]
- Mijares, J.; Jairath, N.; Zhang, A.; Que, S.K.T. Validation of a Dermatology-Focused Multimodal Large Language Model in Classification of Pigmented Skin Lesions. Diagnostics 2025, 15, 2808. [Google Scholar] [CrossRef] [PubMed]
- Liu, Y.; Primiero, C.A.; Kulkarni, V.; Soyer, H.P.; Betz-Stablein, B. Artificial Intelligence for the Classification of Pigmented Skin Lesions in Populations with Skin of Color: A Systematic Review. Dermatology 2023, 239, 499–513. [Google Scholar] [CrossRef] [PubMed]
- Primiero, C.A.; Rezze, G.G.; Caffery, L.J.; Carrera, C.; Podlipnik, S.; Espinosa, N.; Puig, S.; Janda, M.; Soyer, H.P.; Malvehy, J. A Narrative Review: Opportunities and Challenges in Artificial Intelligence Skin Image Analyses Using Total Body Photography. J. Investig. Dermatol. 2024, 144, 1200–1207. [Google Scholar] [CrossRef] [PubMed]
- Cox, D.R. The Regression Analysis of Binary Sequences. J. R. Stat. Soc. Ser. B 1958, 20, 215–232. [Google Scholar] [CrossRef]
- Hastie, T.J.; Tibshirani, R.J. Generalized Additive Models; Chapman & Hall, 1990. [Google Scholar]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Chen, T.; Guestrin, C. XGBoost: A Scalable Tree Boosting System. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Lundberg, S.M.; Lee, S.I. A Unified Approach to Interpreting Model Predictions. Adv. Neural Inf. Process. Syst. 2017, 30. [Google Scholar]
- Frenard, C.; Blanchet, K.; Lecerf, P.; Varey, E.; Khammari, A.; Dréno, B. Machine learning algorithm to predict response to immunotherapy in real-life settings for patients with advanced melanoma. Eur. J. Dermatol. EJD 2023, 33, 75–80. [Google Scholar] [CrossRef] [PubMed]
- Hanley, J.A.; McNeil, B.J. The Meaning and Use of the Area under a Receiver Operating Characteristic (ROC) Curve. Radiology 1982, 143, 29–36. [Google Scholar] [CrossRef] [PubMed]
- DeLong, E.R.; DeLong, D.M.; Clarke-Pearson, D.L. Comparing the Areas under Two or More Correlated Receiver Operating Characteristic Curves: A Nonparametric Approach. Biometrics 1988, 44, 837–845. [Google Scholar] [CrossRef] [PubMed]








| Characteristics |
Overall N = 17790 |
Benign N = 7831 |
Indeterminate N = 1088 |
Malignant N = 8871 |
p-value |
| age | 60.0(45.0,75.0) | 45.0(35.0,65.0) | 70.0(60.0,80.0) | 65.0(50.0,75.0) | <0.001 |
| sex | <0.001 | ||||
| female | 8454(47.8%) | 4036(51.9%) | 519(47.8%) | 3899(44.2%) | |
| male | 9221(52.2%) | 3740(48.1%) | 566(52.2%) | 4915(55.8%) | |
| anatomical_site | <0.001 | ||||
| anterior torso | 7124(40.7%) | 3807(49.4%) | 128(12.1%) | 3189(36.4%) | |
| head/neck | 4608(26.3%) | 1401(18.2%) | 784(74.1%) | 2423(27.7%) | |
| lower extremity | 3305(18.9%) | 1523(19.8%) | 59(5.6%) | 1723(19.7%) | |
| oral/genital | 67(0.4%) | 44(0.6%) | 0(0%) | 23(0.3%) | |
| palms/soles | 615(3.5%) | 246(3.2%) | 6(0.6%) | 363(4.1%) | |
| upper extremity | 1799(10.3%) | 686(8.9%) | 81(7.7%) | 1032(11.8%) | |
| melanocityc | <0.001 | ||||
| true | 7507(42.2%) | 2184(27.9%) | 1088(100%) | 4235(47.7%) | |
| false | 10283(57.8%) | 5647(72.1%) | 0(0%) | 4636(52.3%) | |
| Model | AUC (95% CI) | Accuracy | Sensitivity | Specificity | PPV | NPV | F1 | Balanced Accuracy | Brier Score |
| 0.731(0.714—0.748) | 0.673 | 0.704 | 0.638 | 0.688 | 0.655 | 0.696 | 0.671 | 0.208 | |
| 0.733(0.716–0.750) | 0.678 | 0.726 | 0.623 | 0.686 | 0.667 | 0.705 | 0.675 | 0.207 | |
| 0.756(0.740–0.773) | 0.707 | 0.764 | 0.644 | 0.709 | 0.706 | 0.735 | 0.704 | 0.243 | |
| 0.768(0.752–0.783) | 0.698 | 0.771 | 0.616 | 0.695 | 0.703 | 0.731 | 0.693 | 0.194 |
| Model comparison | Z statistic | p-value | Adjusted p-value | Significant |
| LR vs GAM | -3.350 | <0.001 | 0.00162 | Yes |
| LR vs RF | -4.806 | <0.001 | <0.001 | Yes |
| LR vs XGBoost | -7.798 | <0.001 | <0.001 | Yes |
| GAM vs RF | -4.440 | <0.001 | <0.001 | Yes |
| GAM vs XGBoost | -7.425 | <0.001 | <0.001 | Yes |
| RF vs XGboost | -2.868 | 0.00412 | 0.00412 | Yes |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).