Related Experiment Video
Updated: Feb 10, 2026

Author Spotlight: Advancing Diabetes Research with Static Exercise Training in Mice
Published on: March 29, 2024
A Comparison between Decision Tree and Random Forest in Determining the Risk Factors Associated with Type 2 Diabetes
Habibollah Esmaily1, Maryam Tayefi2, Hassan Doosti3
1Social Determinants of Health Research Center, Mashhad University of Medical Sciences, Mashhad, Iran.
Background:
We aimed to identify the associated risk factors of type 2 diabetes mellitus (T2DM) using data mining approach, decision tree and random forest techniques using the Mashhad Stroke and Heart Atherosclerotic Disorders (MASHAD) Study program.
Study Design:
A cross-sectional study.
Methods:
The MASHAD study started in 2010 and will continue until 2020. Two data mining tools, namely decision trees, and random forests, are used for predicting T2DM when some other characteristics are observed on 9528 subjects recruited from MASHAD database. This paper makes a comparison between these two models in terms of accuracy, sensitivity, specificity and the area under ROC curve.
Results:
The prevalence rate of T2DM was 14% among these subjects. The decision tree model has 64.9% accuracy, 64.5% sensitivity, 66.8% specificity, and area under the ROC curve measuring 68.6%, while the random forest model has 71.1% accuracy, 71.3% sensitivity, 69.9% specificity, and area under the ROC curve measuring 77.3% respectively.
Conclusions:
The random forest model, when used with demographic, clinical, and anthropometric and biochemical measurements, can provide a simple tool to identify associated risk factors for type 2 diabetes. Such identification can substantially use for managing the health policy to reduce the number of subjects with T2DM .
Related Concept Videos
Diabetes Mellitus: Type 2 and Gestational
Factors Affecting the Risk of Infection
The integrity and count of the white blood cells help the body resist pathogens and fight infection. When impaired, it reduces the body's resistance to pathogens. The acidic pH levels of the gastrointestinal, genitourinary tracts, and skin...
Diabetes Mellitus: Overview and Type I Subtype
Type 1 diabetes is an autoimmune disease in which the immune system mistakenly attacks and destroys the insulin-producing beta cells in the pancreas. As a result, the body is unable to produce sufficient insulin, and individuals with...
The Tree of Life - Bacteria, Archaea, Eukaryotes
Survival Tree
Building a Survival Tree
Constructing a...
The Sense of Self: Reflected Self-Appraisal and Social Comparison

