Skip to main content

Data drift detection tool for machine learning pipelines.

Project description

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.

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

gate_drift-0.1.5.tar.gz (13.6 kB view hashes)

Uploaded Source

Built Distribution

gate_drift-0.1.5-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page