Related Experiment Video
Updated: May 10, 2026

Long-term Continuous EEG Monitoring in Small Rodent Models of Human Disease Using the Epoch Wireless Transmitter System
Published on: July 21, 2015
Ensemble Machine Learning Model for Real-Time Valproic Acid Prediction in Epilepsy Treatment
Jiangchuan Xie1, Pan Ma1, Xinmei Pan1
1Department of pharmacy, The First Affiliated Hospital of Army Medical University, Chongqing, China.
Aims:
To develop an optimal model to predict valproic acid (VPA) concentrations by machine learning, ensuring that the VPA plasma concentration is in the effective treatment range, and thus effectively control the patient's epilepsy.
Methods:
This single-center, retrospective study included patients diagnosed with epilepsy from January 2014 to January 2022. Patients receiving VPA and having undergone therapeutic drug monitoring were enrolled. Top three algorithms exhibiting superior model performance were selected to establish the ensemble prediction model, with Shapley Additive exPlanations (SHAP) employed for model interpretation. An independent dataset was collected as a clinical validation group to verify the prediction model performance.
Results:
The algorithms chosen for the ensemble model-Light Gradient Boosting, Categorical Boosting, and Gradient Boosted Regression Trees-demonstrated high R 2 (0.549, 0.515, and 0.503, respectively). Post-feature selection, the final model incorporated 20 variables, proving superior in predictive performance compared to models considering all 24 variables. The R 2 , mean absolute error, mean square error, absolute accuracy (±20 mg/L), and relative accuracy (±20%) of external validation were 0.621, 10.67, 221.50, 78.98%, and 66.48%, respectively. The importance and direction of each variable were visually represented using SHAP values, with VPA administration and liver function emerging as the most significant factors.
Conclusion:
The innovative application harnesses advanced multi-algorithm mining methodologies to forecast VPA concentrations in adult epileptic patients. Furthermore, it employs SHAP to elucidate the nuanced influence of each feature within the integrated prediction model, thereby providing a robust and plausible explanation for the determinants affecting VPA concentration predictions.
Related Concept Videos
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:
Antiepileptic Drugs: Modulators of Neurotransmitter Release Mediated by SV2A Protein
SV2A is a transmembrane glycoprotein located predominantly in the brain, modulating the release of neurotransmitters for neuronal communication. Both levetiracetam and brivaracetam exhibit a high affinity for...
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...
