Our attention MIL-based model was trained on PD-L1–stained IHC images from the NSCLC-MSK cohort to predict PD-L1 status TPS>1%, reaching a high performance with a cross-validated mean AUC of 0.88 ± 0.06 (Fig. 2A). Here, CD274 is linked to non-small cell lung carcinoma.