Machine learning API — 2026

MomCare AI

The backend for MomCare AI: a FastAPI service that takes a patient's vitals, lifestyle and background details and predicts maternal health risk as low, mid or high, with a confidence score for each class.

ROLE
Model training and API
YEAR
2026
STATUS
Prototype
BUILT WITH
Python, FastAPI, scikit-learn

The goal

Turn a set of everyday health and lifestyle measurements into an early risk signal that a maternal-care app can show.

What I built

The stack

Machine learning
Pythonscikit-learn (Random Forest)pandasNumPyjoblib
API
FastAPIPydanticGunicorn

The outcome

  • A working prediction API with a clearly defined request and response.
  • Model and encoder ship with the backend, ready for an app to call.

A prototype for demonstration. It is not a medical device and its predictions are not medical advice.

Don't take my word

Anyone can write “it works”. This checks the code for real, right now, from a server, and shows exactly what it finds.

BUILDING SOMETHING SIMILAR?

Let's talk about your project.