Skip to main content
. 2025 Aug 8;15:1623109. doi: 10.3389/fcimb.2025.1623109

Figure 9.

SHAP summary plot showing feature impact on model output for various medical metrics. Features include urea nitrogen, age, urine output, alkaline phosphatase, SpO2, MAP, and oasis score. Colors range from orange for low to purple for high feature values. SHAP values depict impact magnitude, with urea nitrogen having the highest influence at 0.646.

The SHAP method is used to analyze the important features of the XGBoost model. Create a point for each feature attribute value of each patient’s model, thereby assigning a point to each patient on the line for each feature. Dots are colored according to the eigenvalues of the corresponding patients and accumulate vertically to depict the density. Purple indicates high eigenvalues (death in this case), while yellow indicates low eigenvalues. The farther the point is from the baseline SHAP value, the greater the impact on the output.