# ml-data-leakage

Published articles for ml-data-leakage.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Investigating Feature Leakage and Proxy Variables in a Clash of Clans ML Model

DevFeed: [Investigating Feature Leakage and Proxy Variables in a Clash of Clans ML Model](<https://devfeed.tech/articles/investigating-feature-leakage-and-proxy-variables-in-a-clash-of-clans-ml-model-97410.md>)

Original publisher: [Read original article](<https://hackernoon.com/investigating-feature-leakage-and-proxy-variables-in-a-clash-of-clans-ml-model?source=rss>)

Author: oteope

Published: 2026-10-23T08:46:12Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Feature Engineering](<https://devfeed.tech/topics/feature-engineering.md>), [scikit-learn](<https://devfeed.tech/topics/scikit-learn.md>)

Tags: [analysis](<https://devfeed.tech/tags/analysis.md>), [api](<https://devfeed.tech/tags/api.md>), [audit](<https://devfeed.tech/tags/audit.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [clash-of-clans-dataset](<https://devfeed.tech/tags/clash-of-clans-dataset.md>), [correlation](<https://devfeed.tech/tags/correlation.md>), [data](<https://devfeed.tech/tags/data.md>), [data-leakage](<https://devfeed.tech/tags/data-leakage.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [domain](<https://devfeed.tech/tags/domain.md>), [eda](<https://devfeed.tech/tags/eda.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [error](<https://devfeed.tech/tags/error.md>), [feature](<https://devfeed.tech/tags/feature.md>), [feature-engineering](<https://devfeed.tech/tags/feature-engineering.md>), [knowledge](<https://devfeed.tech/tags/knowledge.md>), [ml](<https://devfeed.tech/tags/ml.md>), [ml-data-leakage](<https://devfeed.tech/tags/ml-data-leakage.md>), [ml-evaluation](<https://devfeed.tech/tags/ml-evaluation.md>), [mlops](<https://devfeed.tech/tags/mlops.md>), [model](<https://devfeed.tech/tags/model.md>), [performance](<https://devfeed.tech/tags/performance.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [proxy-variables](<https://devfeed.tech/tags/proxy-variables.md>), [random-forest-regression](<https://devfeed.tech/tags/random-forest-regression.md>), [variables](<https://devfeed.tech/tags/variables.md>), [xgboost-regression](<https://devfeed.tech/tags/xgboost-regression.md>)

### AI overview

The trophy features improved prediction of Clash of Clans clan rank, but the article's audit and model comparison did not establish them as leakage. Within clans, leagues largely determine rank and trophies break ties; this makes trophies especially informative in advanced clans where players share a league. A per-clan Spearman audit classified trophies as SAFE under the author's chosen thresholds, though correlations were near-perfect in some clans. Removing trophy-derived features lowered XGBoost's R² from 0.7710 to 0.7140, while substantial predictive performance remained. Other signals, including Town Hall level relative to clan peers, also mattered, and feature importance varied by model. The author's practical lesson is to investigate how a feature is generated and what domain mechanisms explain its predictive power before deciding whether to remove it; predictive strength alone does not demonstrate leakage.

### Source excerpt

Can a predictive feature look like data leakage? A Clash of Clans ML case study on proxies, feature audits, domain knowledge, and model performance.