From Jupyter Notebook to Production: Deploying a Water Quality ML Model with Docker
dev.to·4d·
Discuss: DEV
Flag this post

As data scientists, we often stop at the Jupyter Notebook. We clean the data, train a model, get a high accuracy score, high-five ourselves, and move on. But a model isn’t truly useful until it’s accessible to the world.

In my latest project, I challenged myself to take a Machine Learning model all the way from a raw CSV file to a fully Dockerized REST API. Here is the complete workflow of how I built a Water Quality Prediction system.

1. The Problem & The Data

The goal was to classify water quality based on physicochemical properties. I utilized the WQD.xlsx dataset, which contains thousands of water samples with features like:

  • pH & Temperature
  • Turbidity (clarity)
  • Dissolved Oxygen (DO)
  • Pollutants: Ammonia, Nitrite, etc.

The target variable is …

Similar Posts

Loading similar posts...