Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

A Machine Learning Model for Predicting the Risk of Developing Diabetes - T2DM Using Real-World Data from Kilifi, Kenya

Domain:

healthcare

Record type:

paper
Creator:
IsaDr.Dr.
Publisher:
RSI
Host:
Type 2 Diabetes Mellitus (T2DM) is a growing public health concern in low-resource settings, where early detection remains limited due to infrastructural and diagnostic constraints. This study presents a machine learning-based risk prediction model developed using real-world data from Kilifi County Referral Hospital in Kenya, aiming to identify individuals at risk of developing T2DM before clinical onset. The study applied the CRISP-DM framework to guide the end-to-end process, from data collection to model deployment. A dataset comprising 2,500 anonymized electronic health records was used, incorporating a diverse range of features including clinical, behavioral, demographic, and socioeconomic variables. Feature selection was conducted using both statistical (Chi-square test) and algorithm-based methods (Random Forest, Recursive Feature Elimination, and XGBoost importance), resulting in two candidate feature sets (14-feature and 7-feature subsets). Four supervised learning algorithms; Logistic Regression, Support Vector Machine (SVM), Random Forest, and XGBoost were trained and evaluated using 5-fold cross-validation. Among them, the XGBoost model achieved the best performance, with a test set accuracy of 91.33%, F1-score of 88.66%, and an AUC-ROC of 96.24%, outperforming other models across all metrics. This study demonstrates that integrating multi-domain features with machine learning can enhance early risk stratification for T2DM in under-resourced environments. The final model’s ability to categorize individuals into low, medium, and high-risk groups offers a practical tool for targeted screening and preventive healthcare interventions in Kenyan public health systems.

Visit

doi.org

Languages

Swahili, Coastal

Similar

Data Sheet 1_A machine learning model for predicting the risk of diabetic nephropathy in individuals with type 2 diabetes mellitus.docxA Machine Learning Approach to Predict HIV Viral Load Hotspots in Kenya Using Real-World DataPredicting Childhood Immunization in Malawi Using Machine Learning Algorithms: Developing a Predictive Model using the 2019-2020 Malawi MICS DataA predictive model for early detection of diabetes mellitus using machine learningA Hybrid Machine Learning Model for Predicting Diseases in Coffee Production: A case study from KenyaINVESTIGATION OF A MODEL FOR PREDICTING THE PERFORMANCE OF PHOTOVOLTAIC SOLAR PANELS USING MACHINE LEARNING

Data Sheet 1_A machine learning model for predicting the risk of diabetic nephropathy in individuals with type 2 diabetes mellitus.docx

Introduction

Diabetic kidney disease (DKD) represents the predominant form of chronic kidney disea

A Machine Learning Approach to Predict HIV Viral Load Hotspots in Kenya Using Real-World Data

Background Machine learning models are not in routine use for predicting HIV status. O

Predicting Childhood Immunization in Malawi Using Machine Learning Algorithms: Developing a Predictive Model using the 2019-2020 Malawi MICS Data

A predictive model for early detection of diabetes mellitus using machine learning

Diabetes is a chronic, metabolic disease characterized by elevated levels of blood glucose or blood

A Hybrid Machine Learning Model for Predicting Diseases in Coffee Production: A case study from Kenya

In Kenya coffee farming faces various challenges, which include widespread pests and diseases. These

INVESTIGATION OF A MODEL FOR PREDICTING THE PERFORMANCE OF PHOTOVOLTAIC SOLAR PANELS USING MACHINE LEARNING

Abstract The energy sector is currently changing towards renewable energy, such as photovoltaic sol