We found that EGFR and CXCR4 expression identified by machine learning showed an accuracy of 97.4% for the training cohort and 91.7% for the validation cohort in diagnosing and staging NSCLC patients. Here, EGFR is linked to non-small cell lung carcinoma.