Fig. 3

Local model interpretation using the SHAP method. Fig. 3 A and 3 C show individual force diagrams for depressed and non-depressed patients, respectively. Figure 3B and D, on the other hand, show waterfall plots for depressed and non-depressed patients, respectively. Each patient is represented by the x-axis, while the contribution of features is represented by the y-axis: the larger the red part of each patient, the more likely it is to be judged as ‘depression’