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. This evidence concerns the gene EGFR and non-small cell lung carcinoma.