RABIT: Jurnal Teknologi dan Sistem Informasi Univrab
Vol 10 No 2 (2025): Juli

PERBANDINGAN METODE LOGISTIC REGRESSION DAN RANDOM FOREST DALAM KLASIFIKASI PENYAKIT KULIT MULTIKELAS: COMPARISON OF LOGISTIC REGRESSION AND RANDOM FOREST METHODS IN MULTICLASS SKIN DISEASE CLASSIFICATION

Syatriani Jauhari (Malikussaleh University)
Rozzi Kesuma Dinata (Malikussaleh University)
Ar Razi (Malikussaleh University)



Article Info

Publish Date
28 Jul 2025

Abstract

This study compares two classification algorithms, namely Logistic Regression and Random Forest, in classifying eight types of skin diseases based on ten clinical symptoms. The data used consists of 271 patient medical records from Cut Meutia General Hospital, which are divided into 80% training data and 20% test data. The pre-processing stage included imputing missing data, encoding categorical variables, and normalizing numerical features for the Logistic Regression model. Both algorithms were implemented using the Scikit-learn library in the Python programming language. Evaluation was conducted using accuracy, precision, recall, and F1-score metrics. The results show that Logistic Regression achieved an accuracy of 94.55%, slightly higher than Random Forest, which reached 92.73%. Validation using 5-fold cross-validation and a paired t-test yielded a p-value of 0.0371, indicating that the performance difference between the two models is statistically significant. However, limitations such as the relatively small amount of data and class imbalance impacted the low performance of the model in minority categories such as Psoriasis. This study is expected to serve as a foundation for the development of data-based medical diagnosis assistance systems to improve efficiency and accuracy in healthcare services.

Copyrights © 2025






Journal Info

Abbrev

rabit

Publisher

Subject

Computer Science & IT Engineering

Description

This journal is called RABIT, where the name comes from two words namely, RAB which means Abdurrab University and IT which means information technology, it can be interpreted as a journal of this journal Journal of Informatics Engineering Study Program Pekanbaru Abdurrab University. This RABIT ...