Skip to content
All projects

HealthGenomics: CVID Analyzer

An explainable ensemble that detects and subtypes an immunodeficiency from gene expression.

No. 04complete
Fig. 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

The 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.

The evidence

Gene expression datasets for CVID.

The method

  1. A stacked ensemble of Random Forest, Gradient Boosting and SVM.
  2. Subtype classification into Severe Immunodeficiency, Moderate with Autoimmunity and Mild Progressive.
  3. SHAP and LIME to show which genes drive each prediction.
  4. A Flask and JavaScript interface for uploading patient data and reading the result.

The answer

  1. 93% overall accuracy, including subtypes.
Accuracy
93%
Subtypes
3

What I learned

  1. 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.

Stack

  • Python
  • scikit-learn
  • SHAP
  • LIME
  • Flask
  • JavaScript