Skip to main content
Fig. 3 | BMC Public Health

Fig. 3

From: Exploring the potential and limitations of deep learning and explainable AI for longitudinal life course analysis

Fig. 3

SHAP Comparison for Individuals for LCP Order1. This figure compares SHAP values for two individuals, one positive for the outcome of interest and one negative. The top row includes individual feature heatmaps and SHAP values marginalised over features. The bottom two rows depict the individual-level SHAP values marginalised over time for each individual split by model. SHAP values are shown on a consistent scale across all plots, with colour gradients indicating magnitude and direction (blue to red). LR = logistic regression, XGB = XGBoost, MLF = MLSTM-FCN, IT = InceptionTime, LSTMA = LSTMAttention

Back to article page