S

Graph neural networks + gradient boosting to flag high-risk pregnancies.

Role
ML researcher
Platform
Python
Discipline
AI & Data
Clinical data
Patient graph
GCN
XGBoost
Risk
Overview

A machine learning research project that predicts high-risk pregnancy outcomes, including preeclampsia, by combining graph representation learning with classical and deep classifiers. Patient clinical data — blood pressure, blood sugar, BMI, biomarkers — is used to build patient similarity graphs, from which node embeddings are learned and passed to downstream classifiers.

PythonGraph Neural NetworksGCNGraphSAGEXGBoostLightGBMRandom ForestSHAPt-SNE
The challenge

Clinical risk depends on how a patient compares to similar patients, not just on individual readings. The goal was to capture that relational structure while keeping predictions interpretable enough to trust.

Approach
  1. 01

    Patient similarity graphs

    Built graphs from combined maternal health and preeclampsia datasets, connecting clinically similar patients.

  2. 02

    Graph embeddings

    Learned node embeddings with multiple architectures — GCN, GraphSAGE, and GNN variants.

  3. 03

    Hybrid models

    Compared embeddings across XGBoost, LightGBM, Random Forest, MLP, and LSTM; the main pipeline pairs a GCN (with reconstruction and domain-adaptation layers) with a tuned XGBoost classifier.

  4. 04

    Rigour & interpretability

    Hyperparameter tuning and cross-validation, with SHAP and t-SNE for interpretability, plus synthetic-data experiments.

Key features

Graph learning

GCN, GraphSAGE, and GNN variants compared head to head.

Hybrid pipeline

GCN embeddings feeding a tuned XGBoost classifier.

Explainable

SHAP and t-SNE show what drives each prediction.

Synthetic data

Extended experiments on synthetic datasets.

Outcome
  • A systematic comparison of graph-based hybrid models for maternal health risk.
  • An interpretable pipeline with SHAP and t-SNE analysis.
What I learned

“In healthcare ML, an explanation is part of the result. SHAP made the model's behaviour something we could actually discuss.”

Need something similar? See my AI & Automation service.

Next project

Conversational Agent (n8n)

An LLM-backed agent that routes questions and calls tools.

Read case study
Trigger
Agent
Memory
Tools
Reply
Next step

I'm looking for full-time full-stack and AI engineering roles, and I take on select freelance projects.