StrokeGuard: Cloud-Deployed Calibrated-MLP with K-Means Boundary Undersampling for Scalable Stroke Risk Prediction
Résumé
Abstract Stroke accounts for roughly one in nine deaths worldwide and ranks among the most disabling non-communicable diseases globally. Timely identification of at-risk individuals is clinically actionable. Yet, two persistent obstacles hamper the deployment of automated screening tools: (1)the pronounced scarcity of stroke-positive records in routine clinical databases, where positive cases often constitute less than 5% of the cohort and yield imbalance ratios that can exceed 19:1; and (2)~the near-universal absence of validated, production-grade inference infrastructure in published stroke-ML research. We present \textit{StrokeGuard}, an end-to-end system that couples a novel K-Means cluster-based undersampling strategy with a threshold-calibrated multi-layer perceptron (MLP) and delivers the trained model to a multi-region cloud platform with fully benchmarked latency, throughput, and cost characteristics. The undersampling algorithm divides the PCA-transformed feature space into four clusters, then draws majority-class records whose proximity to the local minority centroid is smallest, thereby concentrating the training signal on the class boundary while reducing the imbalance ratio from 19.6:1 to 5:1 without generating synthetic data. The MLP is optimized with class-weighted binary cross-entropy, and its decision boundary is shifted to $\tau=0.3$ to maximize G-Mean. Preprocessing comprises Random Forest regression for missing BMI imputation ($R^{2}=0.707$), z-score normalization using training-set statistics, and Principal Component Analysis retaining 89\% of total variance. Evaluated on 45,108 clinical records (2,631 held-out test samples), the system achieves 92.51\% accuracy, 72.60\% recall, 80.51\% precision, 96.49\% specificity, 83.70\% G-Mean, 76.35% F1 score, and AUC-ROC~=~0.8706, outperforming seven baseline classifiers. Five-fold cross-validation yields $92.36\% \pm 0.31\%$, and the train-to-test accuracy gap is 1.61\%, confirming generalization. Cloud deployment across the US East, the EU West, and Asia-Pacific produces mean inference latency of 18.72~ms (P95: 24.34~ms; P99: 34.24~ms) and throughput up to 54.7 req/s, with auto-scaling from 1 to 8 instances at linear cost (\$0.115 to \$0.920/hr). All three regions sustain sub-40 ms P99 latency, satisfying real-time clinical screening requirements.
Citer ce document
Exporter : BibTeX · RIS (Zotero, Mendeley, EndNote)
Accès au document
Texte intégral archivé sur SPHAERO, en accès ouvert : lisible gratuitement en ligne après connexion. Le document reste aussi disponible à sa source. Se connecter
Voir l'article sur le site de la revueLicence et provenance
Licence : CC BY
Notice moissonnée depuis OpenAlex le 09/11/2026. Le document reste hébergé par sa source.
Voir le document à la source →