Abstract / Summary
Individuals with autism spectrum disorder (ASD) and co-occurring mood or psychotic disorders face substantially elevated suicide-attempt risk, but prior research is largely limited to population-level incidence and cross-sectional risk-factor studies, leaving unclear whether individual-level, prospective prediction is possible in this population. We conducted a retrospective prediction model study using Epic Cosmos electronic health record (EHR) data from 322,879 individuals with ASD and co-occurring mood or psychotic disorders to predict suicide attempts at the next clinical encounter using only information available at or before the preceding encounter. Five machine-learning algorithms were compared, with performance evaluated across discrimination, calibration, and clinical utility. All algorithms achieved strong discrimination using the full predictor set (AUROC 0.87-0.91). A parsimonious feature set (22 predictors) matched or exceeded full-model performance, with extreme gradient boosting (XGBoost) achieving the highest discrimination and standardized net benefit post-ablation (AUROC = 0.90; AUPRC = 0.34), though net benefit was comparable for elastic net and logistic regression. A prior suicide attempt was the strongest individual predictor. Decision-curve analysis indicated that model-guided decisions provided greater net benefit than treating all or no individuals across a broad range of clinically plausible thresholds. These findings demonstrate that near-term suicide-attempt risk can be predicted with high decision utility in this high-risk population using data already captured in routine care, suggesting a feasible basis for future EHR-based clinical decision-support tools.