AGENT SKILL

leakage-checklist

How to recognise data leakage: features unavailable at prediction time or proxies for the target.

License 许可
MIT
最近更新
2026-10-25
Stars
★ 0
Forks
0

01 前言 Front Matter

name
leakage-checklist
metadata
{ "beyondml": { "kind": "knowledge" } }
description
How to recognise data leakage: features unavailable at prediction time or proxies for the target.

03 SKILL.md 正文

Leakage is a feature that would not exist when the prediction is made, or that is a proxy for the target.

  • Recorded after the outcome: a churn model's Cancellation_Date, a fraud model's chargeback flag.
  • Direct functions of the target: Tax_Amount for Price, total = sum of parts that include the target.
  • Treatment implies diagnosis: a disease model's Prescription_A.
  • IDs and timestamps that encode the split or the label order.
  • Too good to be true: a single column that scores 0.98+ on its own almost always leaks.

Action: drop high-risk columns; for medium risk, keep them only with a written justification.

04 同仓库更多 Skills