ERBB2 and breast carcinoma: All handcrafted and deep learning-based features were extracted from the partationed subregions and selected to develop logistic regression models for predicting brain metastasis originated from primary NSCLC (LR-NSCLC) and breast cancer (LR-BC), and for predicting the EGFR mutation (LR-EGFR) status and HER2 (LR-HER2) status.