Skip to content

Dominic-Mu/dsc-phase-5-group-14-project

Repository files navigation

Phase 5 Group 14 Project

Leveraging Machine Learning for Enhanced Insights from Kenya Demographic and Health Survey's Malaria Indicator Survey Data.

Authors: Alpha Guya, Ben Ochoro, Caleb Ochieng, Christine Mukiri, Dominic Muli, Frank Mandele, Jacquiline Tulinye and Lesley Wanjiku.

1.0 Introduction

Mosquitto

Malaria continues to be a significant public health challenge in Kenya, with substantial efforts dedicated to its prevention and control. The Kenya Demographic and Health Survey's Malaria Indicator Survey (DHS-KMIS) provides a rich source of data that, when analyzed using advanced machine learning (ML) techniques, can offer valuable insights and enhance our understanding of malaria prevalence, risk factors, and intervention effectiveness.

1.1 Overview of KDHS

Idea

The Kenya Demographic and Health Survey (KDHS) is a nationally representative survey conducted in Kenya to gather comprehensive information on population demographics, health, and various related indicators. The KDHS is conducted periodically, typically every five years, and is an essential tool for policymakers, researchers, and organizations involved in public health planning and implementation. The survey aims to provide up-to-date and accurate data on key health and demographic indicators, serving as a foundation for evidence-based decision-making in the health sector.

The KDHS covers a broad range of topics, including fertility, family planning, maternal and child health, nutrition, malaria, HIV/AIDS, and other health-related issues. By employing rigorous sampling techniques, the survey ensures that the collected data is representative of the entire Kenyan population. Through face-to-face interviews and biomarker measurements, the KDHS captures not only self-reported information but also objective health indicators, enhancing the reliability and validity of the findings. This extensive dataset serves as a valuable resource for understanding health trends, identifying challenges, and formulating targeted interventions to improve the overall health and well-being of the Kenyan population. Idea The survey results are crucial for monitoring progress towards health-related Sustainable Development Goals (SDGs) and informing policies and programs aimed at addressing public health challenges. Researchers and policymakers use KDHS data to analyze trends, identify disparities across regions and population groups, and tailor interventions to specific needs. The KDHS thus plays a pivotal role in shaping the health agenda in Kenya by providing a comprehensive and current snapshot of the health and demographic landscape, facilitating evidence-based decision-making for the benefit of public health initiatives and the overall well-being of the Kenyan population.

1.2 Business Problem

problem

The problem at hand revolves around the underexplored potential of leveraging machine learning (ML) techniques for a more in-depth analysis of the Kenya Demographic and Health Survey's Malaria Indicator Survey (KDHS-MIS) data. Despite substantial efforts dedicated to malaria prevention and control in Kenya, the current analytical methods fall short in providing a comprehensive understanding of malaria prevalence, risk factors, and the efficacy of control measures. The lack of systematic application of ML algorithms inhibits the identification of intricate patterns and trends within the KDHS-MIS data, limiting our ability to uncover predictive factors associated with malaria prevalence. Additionally, the absence of predictive models for malaria occurrence, severity, and spatial distribution hampers the formulation of targeted intervention strategies. The problem is further compounded by the limited depth in evaluating the effectiveness of existing control measures, as traditional statistical methods may not capture the nuances that ML models can reveal in terms of accuracy, sensitivity, and specificity.

To address this gap, a structured methodology is proposed, encompassing comprehensive data preprocessing, robust feature selection techniques considering socio-economic, demographic, environmental, and health-related factors, and the development of predictive models using both supervised and unsupervised learning approaches. The proposed research emphasizes the importance of model evaluation, interpretability, and explainability to ensure the practical utility of ML findings for policymakers and public health practitioners. By integrating ML into the analysis of KDHS-MIS data, the research aims to contribute to evidence-based decision-making and enhance the effectiveness of malaria control strategies in Kenya, offering a transformative approach to understanding and combatting malaria in the region. The envisioned outcome is a more nuanced and actionable set of insights derived from ML, enabling targeted interventions and contributing to the broader goal of malaria control and prevention in Kenya.

1.3 Objectives

Idea

i. Apply machine learning algorithms to analyze KMIS data and identify potential predictive factors associated with malaria prevalence.

ii. To find out the top 5 counties with high malaria cases for enhanced intervention measures.

iii. To develop arobust machine learning model for malaria disease prediction with over 96% accuracy.

1.4 Methodology

a. Data Preprocessing:

Clean and preprocess the KMIS dataset to handle missing values, and outliers, and ensure data quality. Explore the temporal dimensions of the data to identify patterns in malaria prevalence.

Data Cleaning

This involves, the handlig of missing data in the KDHS-MIS dataset and dropping irrelevant columns Alt text

Data Visualization

Is a powerful tool for exploring, analyzing, and communicating insights from datasets. From the KDHS-MIS, some of the visualization made: Alt text Alt text

b. Feature Selection:

Employ feature selection techniques to identify the most relevant variables influencing malaria prevalence. Consider socio-economic, demographic, environmental, and health-related factors as potential predictors.

c. Model Development:

Utilized supervised learning algorithms (Logistic Regression and Random Forest) to build predictive models for malaria prevalence.

d. Model Evaluation:

We assessed the performance of the developed models using appropriate metrics such as accuracy, sensitivity, specificity, and area under the ROC curve.

e. Interpretability and Explainability:

The model is able to predict malaria, which is a good to offer utility to policymakers in the health space and health practitioners given it had the following metrics which are dependable by virtue of a confussion matrix:

Confusion Matrix:

A confusion matrix shows the true positive (TP), true negative (TN), false positive (FP), and false negative (FN) values. In this case: a). 1435 instances are correctly predicted as class 0. b). 101 instances are correctly predicted as class 1. c). 43 instances of class 1 are incorrectly predicted as class 0 (false negatives). d). 12 instances of class 0 are incorrectly predicted as class 1 (false positives).

i. Accuracy (0.9654):

Accuracy is the ratio of correctly predicted instances to the total instances. An accuracy of 0.9654 indicates that the model is correct in its predictions about 96.54% of the time.

ii. Classification Report:

 a). The precision for class 0 is high (0.97), indicating that when the model predicts class 0, it's correct 97% of the time.
 b). The recall for class 1 is lower (0.70), indicating that the model is capturing only 70% of the actual instances of class 1.
 c). The weighted average F1-score is 0.96, indicating a good balance between precision and recall across both classes.

iii. Macro and Weighted Averages:

The macro average gives equal weight to each class.

The weighted average considers the number of instances of each class.

In our case, the macro avg F1-score (0.88) and the weighted avg F1-score (0.96) are close, indicating a relatively balanced performance across classes.

1.5 Conclussion:

prediction

*1. MCC value of 0.7794 indicates strong overall model performance, taking into account both false positives and false negatives. This metric is particularly useful in situations where there is class imbalance or where the consequences of different types of errors vary.*

2. An AUC-PR of 81.86% is relatively high and suggests that the model is able to balance precision and recall well. It signifies that the model has a good ability to correctly classify positive instances while minimizing false positives and false negatives.

1.6 Recommendations:

The model can be better improved by use of hyperparameter tunning on large dataset to predict the risk of malaria prevalence and inturn inform where malaria control strategies need to be further enhanced to reduce the burden of malaria disease.

The model informes where and when to propose targeted interventions and strategies to reduce malaria prevalence and improve the effectiveness of existing control measures.

Try out our model on your data!

See the full analysis in the Jupyter Notebook or review this [presentation](./Group 14 Project Presentation.pdf).

For additional info, contact Alpha Guya, Ben Ochoro, Caleb Ochieng, Christine Mukiri, Dominic Muli, Frank Mandele, Jacquiline Tulinye and Lesley Wanjiku

Repository Structure

├── data
├── images
├── index.ipynb
├── index.pdf
├── Recode7_DHS_10Sep2018_DHSG4.pdf
└── README.md

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •