Related Experiment Video
Updated: Jan 28, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Modelling seizure-related predictors of epilepsy diagnostic gap in two urban informal settlements of Nairobi using
Daniel Mwanga1,2,3, Frederick Murunga Wekesah1,4, Frank Ouma1
1Research Division, African Population and Health Research Center, Nairobi, Kenya.
Background:
There is a wide gap in epilepsy diagnosis, particularly in low- and middle-income countries. We used machine learning models to identify seizure-related factors associated with the epilepsy diagnostic gap within the Nairobi Urban Health and Demographic Surveillance System (NUHDSS), Kenya, to inform effective community-level interventions.
Methods:
Data were drawn from a two-stage, population-based census. In Stage-I, 56,425 residents of NUHDSS were screened for possible convulsive and non-convulsive epilepsy using a standardized questionnaire. In Stage-II, individuals who screened positive were invited for clinical assessment and diagnostic confirmation by neurologists. We used latent class analysis to classify symptom patterns. Seven machine learning models were trained, with extreme gradient boost and random forest models achieving the highest area under the receiver operating characteristic curve (98 %).
Results:
A total of 528 individuals were diagnosed with epilepsy, among whom 80 % (n = 420) had not been previously diagnosed. The epilepsy diagnostic gap was 100 % (n = 160/160) in persons with non-convulsive epilepsy, meaning that none of them had been diagnosed before the survey. Among those with convulsive epilepsy, the diagnostic gap was 71 % (n = 260/368). Experiencing fewer types of seizure symptoms, non-convulsive seizures, or seizures with subtle features, such as those involving only one body part and those whose first experience of a seizure was recent, were associated with a wider epilepsy diagnostic gap.
Conclusion:
There is critically huge diagnostic gap for epilepsy in Nairobi's informal settlements. People with subtle, fewer or less obvious seizure types are more likely to be undiagnosed. These findings highlight the importance of seizure symptom characteristics in understanding patterns of underdiagnosis. Thus, approaches to reducing the diagnostic gap should take into consideration subtle and non-convulsive seizure presentations, such as training on symptom recognition and timely care-seeking.
Related Concept Videos
Epilepsy and Seizures: Overview
Various factors can trigger epilepsy, including genetic factors, brain damage, metabolic causes, and unknown etiology. Diagnosis of epilepsy involves electroencephalography (EEG), which...
Simplified Synchronous Machine Model
In this model, each generator is connected to a...
Wind Turbine Machine Models
Induction machines interact through the rotating magnetic field generated by the stator and the rotor. The key parameter is slip, which is the difference between synchronous speed and rotor speed relative to synchronous speed. Slip is...
Gap Junctions
Gap Junctions
Seizures: Classification
Seizures are typically classified into two main categories: focal and generalized seizures.
Focal Seizures
Focal seizures originate from specific regions of the brain. These seizures are further sub-classified into two types:

