← All projects

EM Excursion Predictor — ML Microservice

Personal open-source project — not part of my work at Pfizer.

A personal open-source ML microservice that predicts the probability of a cleanroom Environmental Monitoring excursion from sensor and operational data — trained on synthetic data.

Timeline: 2026 · Role: Author (personal project)

Problem

In pharmaceutical manufacturing, EM excursions trigger costly investigations. Lab results take time to return, so an early-warning signal is useful.

Approach

Trained and cross-validated a Gradient Boosting classifier (benchmarked against Logistic Regression over 5 folds) on synthetic cleanroom data, then exposed it through a FastAPI + Pydantic v2 service whose /predict endpoint returns a probability, a binary decision and a risk band. Ships with pytest + httpx integration tests and a Dockerfile.

Outcome

A deployable ML microservice with validated inputs and human-in-the-loop decision support — synthetic data only, zero real patient or production data.

Key facts

  • Data: Synthetic
  • Model: Gradient Boosting
  • API: FastAPI + Pydantic v2

Technology

Python, scikit-learn, FastAPI, Pydantic v2, Docker, pytest

Source code

Contact

Open to full-time Senior AI / Data Engineer roles. Based in Downingtown, PA.

LinkedIn · GitHub · Résumé (PDF) · Book a call