Skip to main content

GATE: Data Drift Detection for Machine Learning Pipelines

GATE lint (via ruff) Code style: black

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)

Source distribution for gate-drift 0.1.5
File Size Uploaded
gate_drift-0.1.5.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gate-drift 0.1.5
File Interpreter ABI Platform
gate_drift-0.1.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page