Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2023 Jul-Sep;30(3):171-179.
doi: 10.4103/jfcm.jfcm_33_23. Epub 2023 Jul 24.

Early detection system of risk factors for diabetes mellitus type 2 utilization of machine learning-random forest

Affiliations

Early detection system of risk factors for diabetes mellitus type 2 utilization of machine learning-random forest

Johannes B Ginting et al. J Family Community Med. 2023 Jul-Sep.

Abstract

Background: The prevalence of morbidity and mortality for type 2 diabetes mellitus (DM) is still increasing because of changing lifestyles. There needs to be a means of controlling the rise in the incidence of the disease. Many researchers have utilized technological advances such as machine learning for disease prevention and control, especially in noncommunicable conditions. Researchers are, therefore, interested in creating an early detection system for risk factors of type 2 diabetes.

Materials and methods: The study was conducted in February 2022, utilizing secondary surveillance data from Puskesmas Johar Baru, Jakarta, in 2019, 2020, and 2021. Data was analyzed utilizing various bivariate and multivariate statistical methods at 5% significance level and machine learning methods (random forest algorithm) with an accuracy rate of >80%. The data for the three years was cleaned, normalized, and merged.

Results: The final population was 65,533 visits out of the initial data of 196,949, and the final number of DM 2 population was 2766 out of the initial data of 9903. Age, gender, family history of DM, family history of hypertension, hypertension, high blood sugar levels, obesity, and central obesity were significantly associated with type 2 DM. Family history was the strongest risk factor of all independent variables, odds ratio of 15.101. The classification results of feature importance, with an accuracy rate of 84%, obtained in order were age, blood sugar level, and body mass index.

Conclusion: Blood sugar level is the most influential factor in the incidence of DM in Puskesmas Johar Baru. In other words, a person with a family history of type 2 diabetes, at unproductive age, of female gender, and of excessive weight can avoid type 2 diabetes if they can regularly maintain their blood sugar levels.

Keywords: Detection; determinants; diabetes mellitus type 2; risk factors.

PubMed Disclaimer

Conflict of interest statement

There are no conflicts of interest.

Figures

Figure 1
Figure 1
Research flowchart
Figure 2
Figure 2
Feature importance using the GINI importance method in the data set of the Johar Baru Health Center in 2019, 2020, and 2021

Similar articles

Cited by

References

    1. Effah Nyarko B, Amoah RS, Crimi A. Boosting diabetes and pre-diabetes detection in rural Ghana. F1000Res. 2019;8:289. - PMC - PubMed
    1. International Diabetes Federation. IDF Diabetes Atlas, update. 5th edn. 2012. [Last accessed on 2023 Jan 04]. Available from: http://www.idf.org/diabetesatlas/5e/Update2023 . - PubMed
    1. Nabhani N, Widiyastuti Y. The effect of honey on the healing process of gangrene wounds in patients with diabetes mellitus. Media Publikasi Penelitian. 2017;15:69.
    1. Javeed N, Matveyenko AV. Circadian etiology of type 2 diabetes mellitus. Physiology (Bethesda) 2018;33:138–50. - PMC - PubMed
    1. Kemenkes RI. Infodatin 2020 Diabetes Mellitus Data and Information Center Indonesian Ministry of Health. 2020