Data drift detection tool for machine learning pipelines.
Project description
GATE: Data Drift Detection for Machine Learning Pipelines
GATE is a Python module that detects drift in partitions of data. GATE computes partition summaries, which are then fed into an anomaly detection algorithm to detect whether a new partition is anomalous. This minimizes false positive alerts when detecting drift in machine learning (ML) pipelines, where there may be many features and prediction columns.
Support for Embeddings
We now support drift detection on embeddings, in addition to structured data. GATE considers both the structured data and the embeddings when computing partition summaries and detecting drift. Check out the embeddings page for a walkthrough of how to use GATE with embeddings.
Installation
GATE is available on PyPI and can be installed with pip:
pip install gate-drift
Note that GATE requires Python 3.8 or higher.
Usage
GATE is designed to be used with Pandas dataframes. Check out the documentation for a walkthrough of how to use GATE.
Research Contributions
GATE was developed and is maintained by researchers at the UC Berkeley EPIC Lab.
An initial version of GATE was developed as part of a collaboration with Meta, and the research paper, "Moving Fast With Broken Data" by Shankar et al., is available on arXiv. This module slightly differs from the original implementation, but the core ideas around partition summaries and anomaly detection are the same.
Project details
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
File details
Details for the file gate_drift-0.1.5.tar.gz
.
File metadata
- Download URL: gate_drift-0.1.5.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.16 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2a68f720e5a161b007823d18a64fcc599f0b62a286715b8224107cf2f8f9c99 |
|
MD5 | 182809fce1f7feec75c0e3194147e6fb |
|
BLAKE2b-256 | ceec2c012fc939e673fd7e59d4411af73a8a5af4df99788aa81609a310105ee9 |
File details
Details for the file gate_drift-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: gate_drift-0.1.5-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.8.16 Darwin/22.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55d0feb84dc4486a663331b84ad0faa6a5ece861329f34cb2d5d94334aa93ff1 |
|
MD5 | 741d7ba011c894c97cbef47e367146eb |
|
BLAKE2b-256 | dc9e68b30c7a7518b02f0c090ce2dc1b363b780c43fa2cb308e84779e97f8f57 |