|
1 | | -# mlops-drift-detector |
| 1 | +# MLOps Model Drift Monitoring System |
| 2 | + |
| 3 | +[](https://github.com/predictivemanish/mlops-drift-detector/actions/workflows/ci.yml) |
| 4 | +[](https://www.python.org/downloads/) |
| 5 | +[](https://fastapi.tiangolo.com) |
| 6 | +[](https://streamlit.io) |
| 7 | +[](https://opensource.org/licenses/MIT) |
| 8 | + |
| 9 | +A production-ready MLOps system that detects concept drift in machine learning models through real-time statistical performance comparison. Built with FastAPI, Streamlit, and scikit-learn. |
| 10 | + |
| 11 | +## π Features |
| 12 | + |
| 13 | +- **Real-time Drift Detection**: Statistical comparison using PSI (Population Stability Index) and KS tests |
| 14 | +- **Fast Inference**: <500ms prediction latency |
| 15 | +- **Configurable Alerts**: 15% threshold with Discord webhook integration |
| 16 | +- **Interactive Dashboard**: Streamlit dashboard with Plotly visualizations |
| 17 | +- **Async Logging**: Non-blocking prediction logging to SQLite |
| 18 | +- **Docker Support**: Containerized deployment |
| 19 | +- **CI/CD**: Automated testing via GitHub Actions |
| 20 | +- **Zero-cost Deployment**: Ready for Render (API) and Hugging Face Spaces (Dashboard) |
| 21 | + |
| 22 | +## ποΈ Architecture |
| 23 | + |
| 24 | +``` |
| 25 | +βββββββββββββββ ββββββββββββββββ βββββββββββββββ |
| 26 | +β Client βββββΆβ FastAPI βββββΆβ SQLite β |
| 27 | +β (curl/app) β β Inference β β Database β |
| 28 | +βββββββββββββββ ββββββββββββββββ βββββββββββββββ |
| 29 | + β β β |
| 30 | + βΌ βΌ βΌ |
| 31 | +ββββββββββββββββ βββββββββββββββ ββββββββββββββββ |
| 32 | +β Drift β β Streamlit β β Discord β |
| 33 | +β Detector βββββΆβ Dashboard βββββΆβ Webhook β |
| 34 | +ββββββββββββββββ βββββββββββββββ ββββββββββββββββ |
| 35 | +
|
| 36 | +``` |
0 commit comments