Treffer: Detection of Skin Cancer Using Random Forest Algorithm in Python.

Title:
Detection of Skin Cancer Using Random Forest Algorithm in Python.
Source:
International Scientific Journal of Engineering & Management; Jul2025, Vol. 4 Issue 7, p1-7, 7p
Database:
Complementary Index

Weitere Informationen

Melanoma is a severe and aggressive form of skin cancer that develops in the melanocytes, the pigment-producing cells of the skin. The total percentage of skin cancer cases in the dataset is 58.60%. Random Forest effectively classifies skin cancer by building multiple decision trees. This algorithm analyzes various features from dermoscopic images, such as colour, texture, and asymmetry, to accurately distinguish between benign and malignant lesions. Its robust nature helps improve diagnostic precision in dermatology. The dataset consisted of 3,297 images, with 1,800 benign and 1,497 malignant lesions. To facilitate classification, a watershed segmentation technique was applied to isolate lesion regions, from which significant features were extracted. These features included ABCD rule descriptors (Asymmetry, Border, Colour, Diameter), Grey Level Co-occurrence Matrix (GLCM) for texture, and various shape descriptors. Approximately 80% of the dataset was used for training the Random Forest model, while the remaining 20% was allocated for testing. The testing involved 10-fold cross-validation on 1,000 ISIC images. While SVM showed superior performance in some comparisons, the Random Forest classifier achieved a notable accuracy of 76.87%, sensitivity of 78.43%, and specificity of 75.31% when using ABCD features . Furthermore, Random Forest achieved the highest accuracy (87.7%) and F-score (0.739) among several other classifiers for skin detection using raw colour features, confirming its robustness and effectiveness. The evaluated model, trained on high-quality annotated datasets, achieved an overall accuracy of 0.98, demonstrating the algorithm's robustness and reliability. [ABSTRACT FROM AUTHOR]

Copyright of International Scientific Journal of Engineering & Management is the property of International Scientific Journal of Engineering & Management and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.)