An explainable ensemble that detects and subtypes an immunodeficiency from gene expression.
No. 04completeFig. 1 · HealthGenomics: CVID Analyzer, a diagram of what it does
Field
Healthcare AI · Explainable AI
Stack
Python · scikit-learn · SHAP
Result
93% Accuracy measured on what
Period
Jul 2025 to Nov 2025
healthgenomics
01The question
Common Variable Immunodeficiency (CVID) is hard to recognise and varies a lot between patients. Clinicians need a prediction they can check, not just a label.
02The evidence
Gene expression datasets for CVID.
03The method
01A stacked ensemble of Random Forest, Gradient Boosting and SVM.
02Subtype classification into Severe Immunodeficiency, Moderate with Autoimmunity and Mild Progressive.
03SHAP and LIME to show which genes drive each prediction.
04A Flask and JavaScript interface for uploading patient data and reading the result.
04The answer
·93% overall accuracy, including subtypes.
Accuracy
93%
Subtypes
3
05What I learned
·Check the model on a second, independent dataset before trusting the 93%.
My role
Built the ensemble, the SHAP and LIME explanations, and the web interface.