Identification of Erectile Dysfunction From Routine Blood Test Data: Development and Validation of a Machine Learning‐Based Prediction Model

BACKGROUND: Erectile dysfunction (ED) is a prevalent male health disorder and a recognized sentinel marker for cardiovascular disease. Current diagnostic reliance on subjective questionnaires or invasive examinations limits early screening. AIM: We aimed to develop and validate a machine learning model based on routine blood test data to predict ED risk to facilitate its early clinical screening. METHODS: Data from 4116 men in the NHANES database (2001-2004) formed the training/internal validation sets. An independent external validation set comprised 489 clinical patients with NPTR-confirmed ED. From 49 initial demographic and blood-based indicators, feature selection via univariate logistic, multivariate logistic, and LASSO regression identified nine key predictors. Seven machine learning models were constructed, optimized via grid search with fivefold cross-validation, and evaluated using ROC analysis, calibration curves, and decision curve analysis (DCA). The optimal model was interpreted via SHAP. RESULTS: The random forest model achieved superior performance, with an external validation AUC of 0.934, accuracy of 0.918, and specificity of 0.986, significantly outperforming logistic regression (AUC = 0.743). SHAP analysis identified age, sex hormone-binding globulin (SHBG), testosterone, glucose, cholesterol, and creatinine as the most influential predictors. DISCUSSION: The study established a concise, nine-feature blood test panel and validated a high-performing predictive model in an independent clinical cohort, demonstrating significant clinical net benefit. Meanwhile, this model provides an economical, non-invasive, and scalable screening tool suitable for health check-ups, facilitating early ED identification. CONCLUSION: A machine learning model based on routine blood tests can effectively evaluate ED risk, offering a novel foundation for early screening and precision management.

Authors

Institutions

Publication Details

Journal
Andrology
Published
2026-08-14
DOI
https://doi.org/10.1111/andr.70358
Primary Topic
Sexual function and dysfunction studies
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Identification of Erectile Dysfunction From Routine Blood Test Data: Development and Validation of a Machine Learning‐Based Prediction Model

Yunlong Ge, Tianle Zhu, W W Zhang, Xiansheng Zhang et al.
Andrology
Sexual function and dysfunction studies
article

Identification of Erectile Dysfunction From Routine Blood Test Data: Development and Validation of a Machine Learning‐Based Prediction Model

Yunlong Ge, Tianle Zhu, W W Zhang, Xiansheng Zhang, Zhi Cao, Pan Gao, Peng Yang, Yukuai Ma
article en

Abstract

BACKGROUND: Erectile dysfunction (ED) is a prevalent male health disorder and a recognized sentinel marker for cardiovascular disease. Current diagnostic reliance on subjective questionnaires or invasive examinations limits early screening. AIM: We aimed to develop and validate a machine learning model based on routine blood test data to predict ED risk to facilitate its early clinical screening. METHODS: Data from 4116 men in the NHANES database (2001-2004) formed the training/internal validation sets. An independent external validation set comprised 489 clinical patients with NPTR-confirmed ED. From 49 initial demographic and blood-based indicators, feature selection via univariate logistic, multivariate logistic, and LASSO regression identified nine key predictors. Seven machine learning models were constructed, optimized via grid search with fivefold cross-validation, and evaluated using ROC analysis, calibration curves, and decision curve analysis (DCA). The optimal model was interpreted via SHAP. RESULTS: The random forest model achieved superior performance, with an external validation AUC of 0.934, accuracy of 0.918, and specificity of 0.986, significantly outperforming logistic regression (AUC = 0.743). SHAP analysis identified age, sex hormone-binding globulin (SHBG), testosterone, glucose, cholesterol, and creatinine as the most influential predictors. DISCUSSION: The study established a concise, nine-feature blood test panel and validated a high-performing predictive model in an independent clinical cohort, demonstrating significant clinical net benefit. Meanwhile, this model provides an economical, non-invasive, and scalable screening tool suitable for health check-ups, facilitating early ED identification. CONCLUSION: A machine learning model based on routine blood tests can effectively evaluate ED risk, offering a novel foundation for early screening and precision management.

Andrology
Anhui Medical University (CN), First Affiliated Hospital of Anhui Medical University (CN), Hangzhou Medical College (CN)
National Natural Science Foundation of China, University Natural Science Research Project of Anhui Province
Openalex Percentile: Top 9%
Sexual function and dysfunction studies
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.