https://github.com/cherylisabella/leakr
R package for detecting data leakage in machine learning workflows, ensuring model integrity and reliability.
https://github.com/cherylisabella/leakr
data-leakage data-science leakage-detection machine-learning r
Last synced: 10 months ago
JSON representation
R package for detecting data leakage in machine learning workflows, ensuring model integrity and reliability.
- Host: GitHub
- URL: https://github.com/cherylisabella/leakr
- Owner: cherylisabella
- License: other
- Created: 2025-09-24T16:34:57.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-09-25T21:45:50.000Z (10 months ago)
- Last Synced: 2025-09-25T23:41:29.375Z (10 months ago)
- Topics: data-leakage, data-science, leakage-detection, machine-learning, r
- Language: R
- Homepage:
- Size: 86.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
Awesome Lists containing this project
README
# leakR: Universal Data Leakage Detector for R
Welcome to **leakR**, an R package designed to help researchers, data scientists, and machine learning practitioners rigorously detect and diagnose **data leakage** in their workflows.
Data leakage is a pervasive yet often overlooked issue that undermines the integrity and reproducibility of predictive models by allowing unintended information to “leak” between training and testing phases.
**leakR** provides a modular, extensible toolkit for detecting the most common and impactful forms of leakage, starting with tabular data contamination, target leakage, and temporal misalignments, while laying the foundation for a universal leakage detection framework across diverse data domains.
---
## Why leakR?
- Automates leakage detection, filling a key methodological gap.
- Designed for clarity, reproducibility, and transparent ML research.
- Modular architecture supports gradual expansion (time series, NLP, images).
- Useful for both academic and industry workflows.
---
## Features
- Detects:
- Train/test contamination
- Target leakage
- Duplicate rows/records
- Temporal misalignments
- Provides **visual summaries** of suspicious patterns.
- Generates **detailed leakage reports** for audits or publications.
- Offers clean APIs for seamless integration into ML workflows.
- Includes **example vignettes** demonstrating leakage phenomena with code illustrations.
---
## Roadmap
- **Phase 1**: Core tabular leakage detectors.
- **Phase 2**: Time series leakage detection.
- **Phase 3**: Domain-specific extensions (NLP, image pipelines).
- **Phase 4**: Pipeline integration and multi-language support.
---
## Installation
leakR is currently under **active development**. Installation instructions will be provided once the first release is available on CRAN or GitHub.