Claim Missing Document
Check
Articles

Found 1 Documents
Search

COMPARATIVE ANALYSIS OF DECISION TREE AND RANDOM FOREST ALGORITHMS FOR PREDICTING DIABETES MELLITUS Desmita, Nindri Lia; Kumoro, Danang Tejo; Lonang, Syahrani
SainsTech Innovation Journal Vol. 8 No. 1 (2025): SIJ VOLUME 8 NOMOR 1 TAHUN 2025
Publisher : LPPM Universitas Qamarul Huda Badaruddin

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.37824/sij.v8i1.2025.783

Abstract

Diabetes mellitus (DM) is a chronic disease with an increasing number of sufferers and a risk of serious complications. Early detection is very important to prevent these risks. This study uses a public dataset from Kaggle to compare the performance of Decision Tree and Random Forest algorithms in predicting diabetes status. The dataset includes demographic and medical information such as age, hypertension, cardiac history, BMI, HbA1c, and blood glucose levels. Unbalanced data was handled using the SMOTE method, and then tested with 80:20, 70:30, and 60:40 data sharing schemes. The evaluation results showed that Random Forest excelled in all schemes, with the best performance in the 60:40 scheme (96.02% accuracy, 76.13% F1-score). This research shows that Random Forest is effective to support machine learning-based diabetes early detection system.