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.
Metadata
Release files for gate-drift 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gate_drift-0.1.5.tar.gz | 13.6 kB | Without provenance | Details for gate_drift-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gate_drift-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for gate_drift-0.1.5-py3-none-any.whl |
Total release size: 28.1 kB
Release files / gate_drift-0.1.5.tar.gz
| Download URL | gate_drift-0.1.5.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2a68f720e5a161b007823d18a64fcc599f0b62a286715b8224107cf2f8f9c99
|
|
BLAKE2b-256 checksum How to use checksums |
ceec2c012fc939e673fd7e59d4411af73a8a5af4df99788aa81609a310105ee9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.16 Darwin/22.2.0
|
Release files / gate_drift-0.1.5-py3-none-any.whl
| Download URL | gate_drift-0.1.5-py3-none-any.whl |
|---|---|
| Size | 14.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
55d0feb84dc4486a663331b84ad0faa6a5ece861329f34cb2d5d94334aa93ff1
|
|
BLAKE2b-256 checksum How to use checksums |
dc9e68b30c7a7518b02f0c090ce2dc1b363b780c43fa2cb308e84779e97f8f57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.16 Darwin/22.2.0
|
Security for gate-drift 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.