← All projects

IoT Sensor Anomaly Detector

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

A personal open-source machine-learning microservice that scores industrial sensor readings — feed it 11 sensor readings and get back an anomaly probability, risk band, and live gauge UI.

Timeline: 2026 · Role: Author (personal project)

Problem

Industrial sensors generate continuous readings, but anomaly detection usually happens after an alert fires. This demo scores a live sensor snapshot against a trained model.

Approach

Built a scikit-learn pipeline (Gradient Boosting vs Logistic Regression, 5-fold CV, winner auto-selected) trained on 6,000 synthetic IoT samples. Wrapped in a FastAPI service with a /predict endpoint and a browser dashboard — SVG arc gauge, live sliders for all 11 inputs. The Dockerfile trains the model at image build time; no external dependencies.

Outcome

A deployable anomaly detection demo with live UI and ROC-AUC ~0.75 on the held-out test set of synthetic data. Ships with tests, a Dockerfile, and a live Hugging Face Space.

Key facts

  • Sensor inputs: 11
  • Training samples: 6,000 synthetic
  • Model: Gradient Boosting

Technology

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

Source code · Live demo

Contact

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

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