Verified90% confidenceCautionExact time
Standardizing the entire dataset before splitting it leads to data leakage, exposing test set information to the training set.
6
Sources
90%
Confidence
Long-term
Relevance
7/12/2026
First Seen
Sources
Training Machine Learning Models from Scratch: A Complete Beginner's Guide
redditr/learnmachinelearning7/11/2026
Related Claims
VerifiedData leakage refers to test set information being indirectly seen by the model during training, causing evaluation metrics to be inflated; it is one of the most common and most concealed methodological flaws in machine learning research, and is especially dangerous in the medical prediction domain.82% similarUnverified数据泄漏是因意外引入测试集信息而导致模型评估虚高的陷阱,常见形式包括在划分数据集之前就对全量数据做标准化或使用时间上因果倒置的特征81% similarUnverified在特征标准化、归一化或PCA降维时使用整个数据集(包括测试集)的统计量而非仅用训练集,会造成特征构造泄露79% similarVerifiedData leakage refers to future information or target-related information that should not appear in training data accidentally flowing into the feature set, commonly seen in time series misuse of future features or normalization performed before splitting.78% similarUnverifiedOther common sources of data leakage include computing mean/standard deviation for normalization using the full dataset, using future time-point information in feature engineering, and failing to apply cross-validation isolation during target encoding.76% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/490462API
curl https://kongchang.com/api/v1/knowledge/claims/490462MCP
get_claim(id=490462)