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.

DQ4781/LF-ShapAnalysis

Domain:

healthcare

Record type:

project
Creator:
DQ4
Host:
An Analysis of Lassa Fever Outbreaks in Nigeria using Machine Learning Models and Shapley Values Decoding the Drivers of Lassa Fever Outbreaks in Nigeria Insights from Random Forest and XGBoost Models with SHAP Analysis ## Overview 📋 This project uses machine learning models and Shapley value analysis to **identify which ecoclimatic features have the most significant impact on Lassa Fever outbreaks in Nigeria**. The project includes code for data preprocessing, exploratory data analysis, feature selection, model training, and evaluation. ## Features & Dataset 📀 Using Google Datasets Search, the following keywords were used to narrow the search for a suitable dataset: "Lassa Fever", "Nigeria", "Lassa Fever Nigeria", "Lassa", and "Lassa Infections". With this combination of keywords, Google Datasets Search yielded a dataset consisting of weekly epidemilogical updates of Lassa Fever infections from the Nigerian CDC from 2012 to 2019. Also included were various feature classes such as: climate, land cover data, population data, and health facilities covariates. The dataset can be viewed here. ## ML Model 🌳 ### Preprocessing The following steps were taken to preprocess the data for both models: - Read dataset from CSV into pandas DataFrame - Create separate DataFrames to test predictive ability on data from 2018 & 2019 - Encode categorical variables into their respective numerical representations - Define the feature matrix by selecting all columns except the target variable - Split the feature matrix into training and testing sets using the 'train_test_split' function from scikit-learn ### Training & Hyperparameter Tuning In order to find the best model, the following steps were taken: - Define a parameter grid using the 'param_grid' dictionary to specify hyperparameters and their corresponding values for tuning - Consider hyperparameters such as 'max_depth', 'n_estimators', and 'learning_rate' that control tree depth, boosting rounds, and step size shrinkage - Use RandomizedSearchCV to perform a randomized search over the defined hyperparameter grid - Call …

Visit

github.com

Tags

computational-epidemiologylassa-fevermachine-learningnigeriarandom-forest-classifiershapley-additive-explanationsxgboost

Licenses

Apache-2.0

Similar

DQ4781/Lassa-ABMclaudiofronterre/LF<p>Distribution of LF endemicity levels.</p><p>Ebonyi State Management of LF Cases (N = 368).</p>obi-eneanya/Mapping-the-pre-control-prevalence-of-LF-in-NigeriaReduction of MF prevalence after 3 annual MDAs for LF in Sierra Leone 2008–2010.

DQ4781/Lassa-ABM

An Agent-Based Model used to Simulate Rodent Control Strategies for the Control of Periodic Outbreak

claudiofronterre/LF

LF predictions for Africa # LF This repository contains the R code and documentation for the develo

<p>Distribution of LF endemicity levels.</p>

Background

Neglected Tropical Diseases (NTDs) affect 1.5 billion people worldwide with

<p>Ebonyi State Management of LF Cases (N = 368).</p>

Ebonyi State in southeastern Nigeria has experienced a notably high number of deaths from La

obi-eneanya/Mapping-the-pre-control-prevalence-of-LF-in-Nigeria

# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # ~~

Reduction of MF prevalence after 3 annual MDAs for LF in Sierra Leone 2008–2010.

Reduction of MF prevalence after 3 annual MDAs for LF in Sierra Leone 2008–2010.