Home/Writing/Rethinking PCOS Prediction: How Leakage Inflates Accuracy in Clinical ML
machine-learninghealthcarepythondata-sciencepinnedPinned
Aug 14, 2026
10 min read
143 views

Rethinking PCOS Prediction: How Leakage Inflates Accuracy in Clinical ML

An investigation into how pre-splitting oversampling and feature selection generate artificial clinical accuracy, and if simple rules can compete.

Clinical machine learning models often report near-perfect accuracies (98-99%) in literature. However, a rigorous audit reveals that data leakage (such as performing SMOTE oversampling before cross-validation splitting) frequently manufactures these metrics.

The Leakage Experiment#

We tested a Stacking Ensemble under two conditions: (1) Correct validation where SMOTE lives inside each fold, and (2) Leaky validation where SMOTE occurs beforehand. The leaky setup inflated accuracy by 3.2% and F1-score by 9.0%, showing that model reporting must detail validations to be trusted.