Additionally, we discovered five distinct immune microenvironment-related genes (CXCR4, PPP3R1, HSP90AB1, CXCL10, and S100A12) that, when combined with interpretable machine learning methods, could successfully forecast the development of AD. This evidence concerns the gene CXCR4 and Alzheimer disease.