Fig. 6 | Scientific Reports

Fig. 6

From: Machine learning prediction of preterm birth in women under 35 using routine biomarkers in a retrospective cohort study

Fig. 6

SHAP Analysis of Feature Importance. (A) SHAP Value Distribution: This plot illustrates the SHAP values for individual predictions of the XGBoost model, showcasing the impact of each feature on the output. Each dot represents a SHAP value for a feature in a specific prediction. Red dots indicate high feature values, while blue dots represent low feature values. (B) Mean SHAP Values: This bar chart displays the average SHAP values for each feature, highlighting their overall contribution to the model’s predictions. Higher mean SHAP values indicate greater importance in predicting PTB risk.

Back to article page