Skip to content
Back to skills

Ml Modeling Leakage Prevention

ASecurity

Split-aware preprocessing, temporal boundaries, and feature provenance keeping offline gains real online.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 29, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 29, 2026

npx -y skills add aniruddhaadak80/skills --skill ml-modeling-leakage-prevention --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ml Modeling Leakage Prevention?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ml Modeling Leakage Prevention
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/aniruddhaadak80-ml-modeling-leakage-prevention/badge)](https://www.skillsdirectory.com/skills/aniruddhaadak80-ml-modeling-leakage-prevention)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ml-modeling-leakage-prevention
description: "Split-aware preprocessing, temporal boundaries, and feature provenance keeping offline gains real online."
---
# Prevent data leakage in ML pipelines

> Split-aware preprocessing, temporal boundaries, and feature provenance keeping offline gains real online.

**Track:** 📊 Data Science & Analytics · **Domain:** Modeling Practice · **Level:** advanced · **~35 min**

**Who this is for:** Data Scientists, Analysts, Research Scientists, Product Analysts

## When to Use This Skill

Split-aware preprocessing, temporal boundaries, and feature provenance keeping offline gains real online.
Use it whenever a matching task appears in conversation — the agent loads these instructions on demand.

## Steps

1. Split temporally when production predicts the future
2. Fit scalers/imputers/encoders inside folds only, never full data
3. Ban features unavailable at prediction timestamp (audit with data team)
4. Group correlated rows (same user/device) into same split side
5. Track feature computation code versions with model artifacts
6. Validate: offline-vs-online correlation checked each release

## Common Pitfalls

- Random shuffles leaking user histories across train/test
- Target encoding fit on full dataset

## Commands

**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill ml-modeling-leakage-prevention
```

**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill ml-modeling-leakage-prevention -g
```

---

Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) · Browse all at https://skills.sh/aniruddhaadak80/skills

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…