We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/General Science/Comparative Analysis of Decision Tree and Random Forest Algorithms for Diabetes Prediction
PeriodicalsGeneral Science

Comparative Analysis of Decision Tree and Random Forest Algorithms for Diabetes Prediction

Checking your access to this record.

Abstract & Overview

Diabetes Mellitus is a long-term medical disorder marked by high blood glucose levels that raise the risk of early mortality and organ failure. It has become an increasing global health problem, so making an accurate and timely diagnosis is urgently necessary. This study aims to diagnose people with diabetes mellitus by utilizing prediction techniques in data mining using experimental research. The prediction stage for diagnosing diabetes consists of four stages: dataset collection, data pre-processing, data processing, and evaluation. Data was obtained from Electronic Health Records (EHRs), namely the public "Diabetes Prediction Dataset". The pre-processing stage involves data filtering, attribute conversion, and class selection. The data processing utilizes random forests and decision tree models for diabetes prediction. The models were evaluated using accuracy, precision, and recall metrics. The results showed that the Random Forest algorithm produced an accuracy value of 93.97%, precision of 99.88%, and recall of 66.56%, with a computational time of 16s. Meanwhile, the decision tree algorithm produces an accuracy value of 93.89%, precision of 98.73%, and recall of 66.88%, with a computation time of less than 1s. Based on these results, it can be concluded that the Decision Tree algorithm is more effective because the difference in accuracy, precision, and recall values produced by the two algorithms does not have significant differences. However, the Decision Tree algorithm has the advantage of using computational time more effectively, which is needed in detecting diabetes because it is related to someone's life.

Cite this record

Aufar Faiq Fadhlullah, Triyanna Widiyaningtyas (2024). Comparative Analysis of Decision Tree and Random Forest Algorithms for Diabetes Prediction. JTAM (Jurnal Teori dan Aplikasi Matematika), 8(4), 1121–1121. https://doi.org/10.31764/jtam.v8i4.24388

Copy in another style

Fadhlullah, A. F., & Widiyaningtyas, T. (2024). Comparative Analysis of Decision Tree and Random Forest Algorithms for Diabetes Prediction. JTAM (Jurnal Teori dan Aplikasi Matematika), 8(4), 1121–1121. https://doi.org/10.31764/jtam.v8i4.24388
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.