Skip to main content
. 2025 May 1;21(5):843–854. doi: 10.5664/jcsm.11560

Figure 4. SHAP value plots.

Figure 4

(A) Summary plot of feature importance ranking and positive and negative influence in SHAP. Horizontal positioning implicates the impact of a feature value for the prediction. The thickness and color denote the sample size and original value for each feature, respectively. The topmost position denotes a large impact on prediction. (B) The heatmap plot with the model’s predictions (f(x)) for input features. The function f(x) is the sum of the SHAP values for each instance. The width of the black bar on the right side illustrates the average of the absolute SHAP values of each feature. SHAP = SHapley Additive exPlanations.