A comprehensive library for automated model monitoring and drift detection
Project description
Model Monitor
A comprehensive Python library for automated model monitoring and drift detection in machine learning systems.
Features
- Data Drift Detection: Identify shifts in feature distributions using statistical tests and distance metrics
- Model Performance Monitoring: Track key metrics over time and detect degradation
- Prediction Drift Analysis: Monitor changes in model output distributions
- Customizable Alerting: Set thresholds and receive notifications when drift is detected
- Visualization Tools: Generate comprehensive reports and visualizations of drift metrics
- Integration Flexibility: Works with various ML frameworks and data sources
- Scalable Architecture: Efficiently handle large datasets and high-throughput models
Installation
pip install model-monitor
Quick Start
from model_monitor import Monitor
import pandas as pd
# Initialize monitor with baseline data
baseline_data = pd.read_csv("baseline_data.csv")
production_data = pd.read_csv("production_data.csv")
monitor = Monitor()
monitor.set_baseline(baseline_data)
# Run drift detection
results = monitor.detect_drift(production_data)
# Generate report
monitor.generate_report("drift_report.html")
# Set up automated monitoring
monitor.schedule(
data_source="s3://bucket/path/to/data/",
frequency="daily",
alert_threshold=0.05,
notification_email="alerts@example.com"
)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Author
- Biswanath Roul - GitHub
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file model_monitor-0.1.0.tar.gz.
File metadata
- Download URL: model_monitor-0.1.0.tar.gz
- Upload date:
- Size: 40.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb7fca651d8c5fdfcea4553e4e3e8b3a085646a11e1f1344704995c76cd742b3
|
|
| MD5 |
e23880eedd11754ee5c2ef596af93e88
|
|
| BLAKE2b-256 |
b7bc3af37f95b5349465660d88657e908f7b0ffba3d75bd1f9755009affb1be4
|
File details
Details for the file model_monitor-0.1.0-py3-none-any.whl.
File metadata
- Download URL: model_monitor-0.1.0-py3-none-any.whl
- Upload date:
- Size: 46.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ddbca692afd5d26cb47af4795763768cd2b2edc846cdfb0a1280f28e21966da0
|
|
| MD5 |
474cf3a05e7883267291bb36950feaa7
|
|
| BLAKE2b-256 |
18cc2cf859f34add74fa05a8d454372e351eeb8b369e49fa9bac015158d65d59
|