← Back to Projects

Biomedical Machine Learning / Shiny App

Autoimmune Disease Classification using Machine Learning

AutoimmuneMap

Apr 2026 - Jun 2026

Overview

AutoimmuneMap is a machine learning research prototype and Shiny application for exploring autoimmune disease classification using whole-blood gene expression data. The project combines model benchmarking, reduced-gene analysis, and an interactive interface for sample selection, prediction visualisation, and model interpretation.

Shiny App Preview

AutoimmuneMap Shiny app home screen
App home screen with upload and sample selection workflow.
AutoimmuneMap Shiny app prediction result screen
Prediction result screen showing predicted class, probabilities, and model explanation output.

My Contribution

  • Developed and deployed the AutoimmuneMap Shiny app for interactive disease prediction from gene expression data.
  • Implemented uploaded data handling and gene-feature matching for user-provided datasets.
  • Integrated trained machine learning models into the app prediction workflow, including prediction visualisation and explanation-oriented result display.
  • Designed the user-facing workflow to make model outputs easier to inspect and interpret within a biomedical research prototype setting.
  • Supported model training workflow, model artifact validation, and external GEO validation audits, including communication of dataset shift and validation constraints.

Team Attribution

AutoimmuneMap was completed as a group research prototype. Team members are acknowledged below, with my specific contributions summarised separately.

Team members: Ivy Chen, Mikhail Mundackal, Kenny Lu, Jemima Siu, Summer Hao, and Lucy Bao.

Model Performance

ModelAccuracyWeighted F1
KNN0.7090.767
SVM0.7070.794
LASSO / Elastic Net0.5620.497

Nested cross-validation results were used for model comparison. These results should be interpreted as internal model evaluation rather than external validation.

Saved best model internal validation accuracy: 0.88

Feature Reduction Story

The reduced-gene analysis explored whether smaller gene subsets could preserve useful classification performance. This is useful for interpreting model compactness and potential downstream feasibility.

Top N GenesAccuracyWeighted F1
Top 50.6130.563
Top 100.6760.660
Top 200.7170.701
Top 500.7740.765
Top 900.7860.778

Limitations and Validation

External validation experiments identified dataset shift and validation limitations, including prediction collapse under some external data settings. This highlighted the need for stronger cohort-level validation, preprocessing alignment, and careful interpretation before any clinical or biomedical use.

  • The system is a research prototype and not a clinical diagnostic tool.
  • Model performance depends on dataset composition, preprocessing, and cohort compatibility.
  • External validation showed dataset shift risks, so results should be interpreted cautiously.
  • Further validation across independent cohorts would be needed before any practical biomedical use.

Project Ownership and Reuse Notice

AutoimmuneMap was developed as a group research prototype for academic coursework. The project materials shown here are provided only for portfolio demonstration and attribution of contribution.

Please do not copy, reproduce, redistribute, or submit any part of this project, including screenshots, report content, code structure, model workflow, or written descriptions, for coursework or assessment purposes without permission from the original contributors.

This page intentionally does not provide the full source code, report, dataset, or complete implementation details.

Methods / Tools

RShinyMachine LearningSVMRandom ForestKNNElastic NetGene ExpressionTranscriptomic DataNested Cross-ValidationModel Interpretation